Documentation ¶
Overview ¶
Package balancer TODO
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { CertFile string `dm:"cert_file"` KeyFile string `dm:"key_file"` Endpoints []*EndpointConfig `dm:"endpoints"` }
func (*Config) NewEndpoints ¶
func (c *Config) NewEndpoints(fn breaker.OnStateChangeFunc) (*Endpoints, error)
type Endpoint ¶
type EndpointConfig ¶
Click to show internal directories.
Click to hide internal directories.