Versions in this module Expand all Collapse all v1 v1.0.4 Oct 7, 2018 v1.0.3 Oct 7, 2018 v1.0.2 Oct 7, 2018 v1.0.1 Nov 1, 2017 v1.0.0 Nov 1, 2017 Changes in this version + var Cnf = &Config + type Backend interface + InitConfigBackend func() + LoadConfig func() (*Config, error) + RefreshConfig func(newCnf *Config) + type Config struct + Database DatabaseConfig + IsDevelopment bool + Oauth OauthConfig + Session SessionConfig + func NewConfig(mustLoadOnce bool, keepReloading bool, backendType string) *Config + type DatabaseConfig struct + DatabaseName string + Host string + MaxIdleConns int + MaxOpenConns int + Password string + Port int + Type string + User string + type OauthConfig struct + AccessTokenLifetime int + AuthCodeLifetime int + RefreshTokenLifetime int + type SessionConfig struct + HTTPOnly bool + MaxAge int + Path string + Secret string