Documentation ¶
Overview ¶
Package config provides the initial loading of a config.yaml file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig() (err error)
ReadConfig reads the config.yaml initializes CONFIG.
Types ¶
type Config ¶
type Config struct { HttpPort string `yaml:"httpPort,omitempty"` TcpPort string `yaml:"tcpPort,omitempty"` SocketPort string `yaml:"socketPort,omitempty"` SessionExpirationShort int `yaml:"sessionExpirationShort,omitempty"` SessionName string `yaml:"sessionName,omitempty"` }
Config represents the application configuration structure (stored in the config.yaml).
Click to show internal directories.
Click to hide internal directories.