Add configs

This commit is contained in:
Evan Simkowitz 2024-12-18 07:49:12 -08:00
parent 410c01cae3
commit f844588d46
No known key found for this signature in database
2 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,7 @@ type SSHConn struct {
Error string
WshError string
HasWaiter *atomic.Bool
InactiveTimeout *time.Duration
LastConnectTime int64
ActiveConnNum int
}

View File

@ -461,6 +461,8 @@ type CommandRemoteWriteFileData struct {
type ConnKeywords struct {
ConnWshEnabled *bool `json:"conn:wshenabled,omitempty"`
ConnAskBeforeWshInstall *bool `json:"conn:askbeforewshinstall,omitempty"`
ConnAutoConnect *bool `json:"conn:autoconnect,omitempty"`
ConnInactiveTimeout *bool `json:"conn:inactivetimeout,omitempty"` // If set, this is the timeout in seconds
DisplayHidden *bool `json:"display:hidden,omitempty"`
DisplayOrder float32 `json:"display:order,omitempty"`