Versions in this module Expand all Collapse all v0 v0.0.1 Jun 13, 2019 Changes in this version + func MetricsServer(bind string) + type BackendPort struct + HealthCheckEndpoint string + HealthCheckInterval time.Duration + Host string + Name string + Port int + URL *url.URL + type Config struct + Backend []BackendPort + Proxy struct{ ... } + func ParseConfig(configLocation string) (Config, error) + type HealthMonitor struct + func NewHealthMonitor(config *Config, proxy *ProxyServer) *HealthMonitor + func (hm *HealthMonitor) ConfirmHealth(id uint16) + func (hm *HealthMonitor) IsUnhealthy() bool + type HealthMonitorMetrics struct + func NewHealthMonitorMetrics() HealthMonitorMetrics + type ProxyHandlerMetrics struct + func NewProxyHandlerMetrics() *ProxyHandlerMetrics + type ProxyServer struct + func NewProxyServer(config *Config) *ProxyServer + func (proxyServer *ProxyServer) IsInShutdown() bool + func (proxyServer *ProxyServer) Start() error + type ProxyServerMetrics struct + func NewProxyServerMetrics() *ProxyServerMetrics