package
Version:
v0.0.0-...-ec048db
Opens a new window with list of versions in this module.
Published: Jan 30, 2016
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config map[string]interface{}
type Discovery struct {
Method string `json:"method"`
Path string `json:"path"`
Hosts []string `json:"hosts"`
}
type HAProxyInfo struct {
Port int `json:"port"`
ServerOptions string `json:"server_options" yaml:"server_options"`
Listen []string `json:"listen"`
}
type Server struct {
Name string `json:"name"`
Host string `json:"host"`
Port int `json:"port"`
}
type Service struct {
DefaultServers []Server `json:"default_servers" yaml:"default_servers"`
Discovery Discovery `json:"discovery"`
HAProxy HAProxyInfo `json:"haproxy" yaml:"haproxy"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.