Documentation ¶
Index ¶
Constants ¶
View Source
const ( GET method = false HEAD method = true UDP method = false TCP method = true )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct { // Type of check; http, https, syn, dns Type string `json:"type,omitempty"` // TCP/UDP port to use for L4/L7 checks Port uint16 `json:"port,omitempty"` // HTTP Host header to send in healthcheck Host string `json:"host,omitempty"` // Path of resource to use when building a URI for HTTP/HTTPS healthchecks Path string `json:"path,omitempty"` // Expected HTTP status codes to allow check to succeed Expect []int `json:"expect,omitempty"` // Method - HTTP: GET=false, HEAD=true DNS: UDP=false TCP=true Method method `json:"method,omitempty"` }
type Destination ¶
type Instance ¶
type Instance struct { Service Service Destination Destination }
type Mon ¶
type Mon struct { C chan bool Prober Prober Notifier Notifier // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.