Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct { // HTTP Server configs HTTP struct { Addr string `toml:"addr"` Port string `toml:"port"` CertFile string `toml:"certfile"` KeyFile string `toml:"keyfile"` Protocol string `toml:"protocol"` } `toml:"http"` // Paths Paths struct { LogsDir string `toml:"logs-dir"` } `toml:"paths"` }
Cfg is the configuration object
Click to show internal directories.
Click to hide internal directories.