Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
Command string
Args []string
ShowVersion bool
SessionsCheck bool
ImportPath string
Host string
Port int
AuthPath string
MaxRetries int
CooldownMins int
PreferPro bool
Verbose bool
MaxLoginAttempts int
LoginAttemptMins int
LoginKeepMins int
}
func FromAppConfig ¶
FromAppConfig validates cfg and returns Settings.
func (*Settings) LoginAttemptTimeout ¶ added in v1.4.0
LoginAttemptTimeout is how long an unanswered Control API login attempt stays open.
func (*Settings) LoginKeepDuration ¶ added in v1.4.0
LoginKeepDuration is how long a resolved login attempt stays listed.
Click to show internal directories.
Click to hide internal directories.