Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendHealthCheck ¶
type BackendHealthCheck struct { Path string Interval time.Duration DisabledURLs []*url.URL // contains filtered or unexported fields }
BackendHealthCheck HealthCheck configuration for a backend
func NewBackendHealthCheck ¶
func NewBackendHealthCheck(URL string, interval time.Duration, lb loadBalancer) *BackendHealthCheck
NewBackendHealthCheck Instantiate a new BackendHealthCheck
type HealthCheck ¶
type HealthCheck struct { Backends map[string]*BackendHealthCheck // contains filtered or unexported fields }
HealthCheck struct
func (*HealthCheck) SetBackendsConfiguration ¶
func (hc *HealthCheck) SetBackendsConfiguration(parentCtx context.Context, backends map[string]*BackendHealthCheck)
SetBackendsConfiguration set backends configuration
Click to show internal directories.
Click to hide internal directories.