Versions in this module Expand all Collapse all v0 v0.4.0 Mar 28, 2017 Changes in this version + type Certificate struct + Domains []string + Name string + Private []byte + Public []byte + func NewCertificate(priv, pub []byte, name string) (*Certificate, error) + type Config struct + Exposed map[string]Exposed + Options map[string]string + Upstreams map[string]Upstream + func NewDefaultLBConfig() Config + type Endpoint struct + IP string + Options map[string]string + Port int + type Exposed struct + BindPort int + Certificates []Certificate + HostName string + IsDefault bool + Options map[string]string + PathBegins string + Upstream *Upstream + func (exp *Exposed) Name() string + type Manager interface + Check func(req *http.Request) error + Name func() string + ReloadBalancer func() error + StartBalancer func() error + StopBalancer func() error + WriteConfigAndRestart func(config *Config, force bool) error + type Upstream struct + Endpoints []Endpoint + Name string + Options map[string]string