Documentation
¶
Overview ¶
Package config implements the gofer configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ControlAddr string `yaml:"control_addr,omitempty"`
// Map address -> config.
HTTP map[string]HTTP `yaml:",omitempty"`
HTTPS map[string]HTTPS `yaml:",omitempty"`
Raw map[string]Raw `yaml:",omitempty"`
ReqLog map[string]ReqLog `yaml:",omitempty"`
}
func LoadString ¶
type HTTP ¶
type Regexp ¶
Wrapper to simplify regexp in configuration.
func (Regexp) MarshalYAML ¶
func (*Regexp) UnmarshalYAML ¶
type URL ¶
Wrapper to simplify URLs in configuration.
func (*URL) MarshalYAML ¶
func (*URL) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.