Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ArmTime time.Duration `yaml:"arm_time"` // Def: 10s, min: 1s. CheckInterval time.Duration `yaml:"check_interval"` // Def: 5s, min: 100ms. DoTLS bool `yaml:"do_tls"` ExitTime time.Duration `yaml:"exit_time"` // Def: 15s, min: check*2. TcpPort uint16 `yaml:"tcp_port"` }
func (*Config) SetDefaults ¶
func (config *Config) SetDefaults()
Click to show internal directories.
Click to hide internal directories.