Documentation
¶
Overview ¶
Package responder answers haproxy agent-check probes over TCP: read one newline-terminated agent-send identity, write one reply line, close. Reply grammar: https://docs.haproxy.org/2.8/configuration.html#5.2-agent-check
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Addr string
Store Lookup
Logger *slog.Logger
Registerer prometheus.Registerer
// Timeout bounds each connection. It must stay well below haproxy's
// check timeout.
Timeout time.Duration
}
Click to show internal directories.
Click to hide internal directories.