Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig(data []byte)
LoadConfig loads the config from the given config data
Types ¶
type ServerConf ¶
type ServerConf struct { Port uint16 `yaml:"port"` TLS tlsConf `yaml:"tls"` Host string `yaml:"host_name"` }
ServerConf holds config about the web server
Click to show internal directories.
Click to hide internal directories.