Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Log struct { Level string `yaml:"level"` File string `yaml:"file"` } `yaml:"log"` Server struct { Bind []string `yaml:"bind"` MaxUDPSize int `yaml:"max_udp_size"` } `yaml:"server"` Plugin struct { Entry []string `yaml:"entry"` Router []*handler.Config `yaml:"router"` Matcher []*handler.Config `yaml:"matcher"` Functional []*handler.Config `yaml:"functional"` } }
Config is config
func GetTemplateConfig ¶
func LoadConfig ¶
LoadConfig loads a yaml config from path p.
Click to show internal directories.
Click to hide internal directories.