Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
Certificate x509 in PEM format
func NewCertificate ¶
func NewCertificate(priv, pub []byte, name string) (*Certificate, error)
NewCertificate creates a certificate
type Config ¶
type Config struct {
Options map[string]string
Exposed map[string]Exposed
Upstreams map[string]Upstream
}
Config is load balancer configuration scheme not tied to any LB implementation
func NewDefaultLBConfig ¶
func NewDefaultLBConfig() Config
NewDefaultLBConfig returns an LBConfig with defaults
type Exposed ¶
type Exposed struct {
BindPort int
Certificates []Certificate
Options map[string]string
HostName string
PathBegins string
IsDefault bool
Upstream *Upstream
}
Exposed is a exposed server specification
Click to show internal directories.
Click to hide internal directories.