Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfig ¶
ParseConfig parses configurations from various files into a Viper config
Types ¶
type LogLevel ¶
type LogLevel string
LogLevel type is used to capture the supported logging levels
const ( // DebugLevel is used for verbose logs at debug level DebugLevel LogLevel = "DEBUG" // InfoLevel is used for logs that are info level and higher InfoLevel LogLevel = "INFO" // WarnLevel is used for logs that are warning level and higher WarnLevel LogLevel = "WARN" // ErrorLevel is used for logs that are error level and higher ErrorLevel LogLevel = "ERROR" )
Click to show internal directories.
Click to hide internal directories.