Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
IP []byte
// Unhealthy is closed when the backend is determined to be unhealthy.
Unhealthy chan struct{}
}
Backend keeps track of a backend's IP address and whether the backend has become unhealthy.
type FiveTuple ¶
type FiveTuple struct {
// contains filtered or unexported fields
}
A FiveTuple consists of source and destination IP and port, along with the IP protocol version number.
func NewFiveTuple ¶
NewFiveTuple constructs a new five-tuple.
Click to show internal directories.
Click to hide internal directories.