Documentation ¶
Overview ¶
Package conf a viper-based config
By taka@cmwang.net
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *log.Logger
Log logger
Functions ¶
func GetDuration ¶
GetDuration returns the value associated with the key as a duration
func Set ¶
func Set(key string, value interface{})
Set set the value for the key in the override regiser.
func SetDefault ¶
func SetDefault(key string, value interface{})
SetDefault set the default value for this key.
Types ¶
Click to show internal directories.
Click to hide internal directories.