Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Name: "tcp", Timeout: 16 * time.Second, Mode: monitors.DefaultIPSettings, }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `config:"name"` // check all ports if host does not contain port Hosts []string `config:"hosts" validate:"required"` Ports []uint16 `config:"ports"` Mode monitors.IPSettings `config:",inline"` Socks5 transport.ProxyConfig `config:",inline"` // configure tls TLS *outputs.TLSConfig `config:"ssl"` Timeout time.Duration `config:"timeout"` // validate connection SendString string `config:"check.send"` ReceiveString string `config:"check.receive"` }
Click to show internal directories.
Click to hide internal directories.