Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENV_DEVELOPMENT = "development" ENV_STAGING = "staging" ENV_PRODUCTION = "production" OS_MAC = "mac" OS_LINUX = "linux" )
Variables ¶
View Source
var ( App = &AppSetting{} GoogleOAuth = &GoogleOAuthSetting{} Server = &ServerSetting{} Consul = &ConsulSetting{} Redis = &RedisSetting{} Database = &DatabaseSetting{} )
Functions ¶
func HasSettingChanged ¶
func HasSettingChanged() bool
Types ¶
type AppSetting ¶
type ConsulSetting ¶
type DatabaseSetting ¶
type GoogleOAuthSetting ¶
type RedisSetting ¶
Click to show internal directories.
Click to hide internal directories.