Versions in this module Expand all Collapse all v0 v0.0.2 Dec 12, 2021 Changes in this version type BackendPool + TlsCert string + TlsKey string v0.0.1 Dec 11, 2021 Changes in this version + type Backend struct + Host string + ReverseProxy *httputil.ReverseProxy + Url *url.URL + type BackendPool struct + BackUp *Backend + Backends []*Backend + Current uint64 + Port string + func (p *BackendPool) GetNextPeer(alive *IsAlive) (*Backend, int64) + func (p *BackendPool) NextIndex() int + type IsAlive struct + M sync.Map + TimeOut int64 + func (i *IsAlive) GetStatus(url string) (int64, bool) + func (i *IsAlive) HealthCheck() + func (i *IsAlive) SetStatus(url string, status int64)