Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opts ¶
type Opts func(*ProxyHealth)
func WithInitialDelaySeconds ¶
WithInitialDelaySeconds sets the initial delay for the health check.
func WithPeriodSeconds ¶
WithPeriodSeconds sets the period for the health check.
type ProxyHealth ¶
type ProxyHealth struct {
// contains filtered or unexported fields
}
func (*ProxyHealth) IsAvailable ¶
func (h *ProxyHealth) IsAvailable() bool
IsAvailable returns whether the proxy origin was successfully connected at the last check time.
Click to show internal directories.
Click to hide internal directories.