Documentation ¶
Overview ¶
Package apputil provides basic application functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
InitConfig inits Viper configuration, i.e. setting config search path to /etc/config/$SERVICE_NAME requiredKeys are checked for presence to ensure default configuration values if not found the service exits
func InitLogging ¶
InitLogging inits apex/log as log handler and set default level to INFO
func InitLoggingWithLevel ¶
InitLogging inits apex/log as log
func SetExplicitConfigFile ¶
func SetExplicitConfigFile(name string)
SetExplicitConfigFile overrides the heuristics to identify the config file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.