Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { WebListenAddr string `toml:"web_listen_addr"` PasswordRead string `toml:"password_read"` PasswordWrite string `toml:"password_write"` Secred string `toml:"secred"` }
Config holds all settings to start the server
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns a config object with default values.
func LoadConfig ¶
LoadConfig loads the config from a toml file.
Click to show internal directories.
Click to hide internal directories.