Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type HealthChecker struct { sync.Mutex Wg *sync.WaitGroup // contains filtered or unexported fields }
func New ¶
func New(client *http.Client, subscribers []chan connection.Message, backend string, currentHealth bool) *HealthChecker
func (*HealthChecker) Reuse ¶
func (hc *HealthChecker) Reuse(newBackend string, proxy *httputil.ReverseProxy) *HealthChecker
func (*HealthChecker) Shutdown ¶
func (hc *HealthChecker) Shutdown()
func (*HealthChecker) Start ¶
func (hc *HealthChecker) Start(startup *sync.WaitGroup)
Click to show internal directories.
Click to hide internal directories.