Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Logging LoggingConfig Interfaces []InterfaceConfig Log *log.Entry `yaml:"-" json:"-"` // contains filtered or unexported fields }
func (*Configuration) Read ¶
func (c *Configuration) Read() error
type InterfaceConfig ¶
type InterfaceConfig struct { Name string Bind string BindIP net.IP `yaml:"-" json:"-"` BindPort uint16 `yaml:"-" json:"-"` Proxy string ProxyIP net.IP `yaml:"-" json:"-"` ProxyPort uint16 `yaml:"-" json:"-"` EnableProxy bool `yaml:"-" json:"-"` NetworkStrings []string `yaml:"networks" json:"networks"` Networks []net.IPNet `yaml:"-" json:"-"` Regexp []string ReverseProxy map[string]ReverseConfig `yaml:"reverse_proxy" json:"reverse_proxy"` }
type LoggingConfig ¶
Click to show internal directories.
Click to hide internal directories.