Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = viper.New()
Config is a viper based application config
View Source
var Log = logrus.New()
Log is applications logger
Functions ¶
func InitConfig ¶
InitConfig tries to load config.yml from exe's dir
func StartWithDefault ¶
func StartWithDefault()
StartWithDefault default app initialization function Tries to load config from commandline option '-c' panics on error
func StartWithFlags ¶
StartWithFlags app initialization function with flagset panics on error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.