Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `config:"name"` URLs []string `config:"urls" validate:"required"` ProxyURL string `config:"proxy_url"` Timeout time.Duration `config:"timeout"` MaxRedirects int `config:"max_redirects"` Mode monitors.IPSettings `config:",inline"` // authentication Username string `config:"username"` Password string `config:"password"` // configure tls (if not configured HTTPS will use system defaults) TLS *outputs.TLSConfig `config:"ssl"` // http(s) ping validation Check checkConfig `config:"check"` }
type SimpleTransport ¶
type SimpleTransport struct { Dialer transport.Dialer DisableCompression bool OnStartWrite func() OnStartRead func() }
SimpleTransport contains the dialer and read/write callbacks
Click to show internal directories.
Click to hide internal directories.