Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigFile string
Functions ¶
func InitConfig ¶
func InitConfig()
Types ¶
type Config ¶
type Config struct { ListenAddr string `mapstructure:"listen_addr"` DataDir string `mapstructure:"data_dir"` LibraryDir string `mapstructure:"library_dir"` Username string `mapstructure:"username"` InitialPassword string `mapstructure:"initial_password"` JwtSecret string `mapstructure:"jwt_secret"` }
var LoadedConfig Config
Click to show internal directories.
Click to hide internal directories.