Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_CONFIG_DIR = "/config" ConfigFile = "config.yml" AppName = "goredis" AppDesc = "Golang Redis App for demo purpose" EnvServiceBindingRoot = "SERVICE_BINDING_ROOT" )
Variables ¶
View Source
var ( EnvConfigDir = strings.ToUpper(AppName) + "_CONFIG_DIR" AppVersion = "0.1.0" AppPort = 8080 )
Functions ¶
This section is empty.
Types ¶
type Conf ¶
func (*Conf) GetConfigDir ¶
func (*Conf) LoadConfigFromBindings ¶
func (*Conf) LoadConfigFromFile ¶
Click to show internal directories.
Click to hide internal directories.