Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReleaseTag = "development"
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Runtime struct { Release string } Session struct { SecretKey string `yaml:"key"` } Db struct { Host string Port int User string Pass string Name string } OAuth struct { Token string Secret string } App struct { UpdateStats bool `yaml:"update_stats"` AdminOnly bool `yaml:"admin_only"` } Wikipedia struct { Username string `yaml:"username"` Password string `yaml:"password"` } }
func LoadConfigFromDisk ¶
Click to show internal directories.
Click to hide internal directories.