Versions in this module Expand all Collapse all v1 v1.0.2 Feb 12, 2022 Changes in this version + const AliasDef + func GetEnvironment() string + func GetLogColor() bool + func GetLogLevel() string + func GetLogLineSize() int + func GetLogMaxDays() int + func GetLogMaxSize() int64 + func GetLogPath() string + func GetLogSuffix() string + func GetReportLevel() string + func GetReportLineSize() int + func GetReportMaxDays() int + func GetReportMaxSize() int64 + func GetReportPath() string + func GetReportSuffix() string + func GetSerLogFileName() string + func GetServerId() int + func GetServerIdStr() string + func GetServerName() string + func GetServerPort() int + func GetStatChanLen() int + func GetStatDelayUp() int + func GetStatDelayUp2() int + func GetStatDelayUp3() int + func GetStatInterval() int + func GetStatLevel() string + func GetStatLineSize() int + func GetStatMaxDays() int + func GetStatMaxSize() int64 + func GetStatPath() string + func GetStatSuffix() string + func GetViperHandle(alias string) *viper.Viper + func GetXmlConfigElement(alias, xpath string) ([]*etree.Element, error) + func GetXmlConfigHandle(alias string) *etree.Document + func GetXmlConfigInt(alias, xpath string) (int, error) + func GetXmlConfigStr(alias string) string + func GetXmlConfigText(alias, xpath string) (string, error) + func GetXmlConfigTextList(alias, xpath string) ([]string, error) + func GetXmlRootPathElement(tag string) string + func GetZipkinLevel() string + func GetZipkinLineSize() int + func GetZipkinMaxDays() int + func GetZipkinMaxSize() int64 + func GetZipkinPath() string + func GetZipkinSuffix() string + func InitConfigViper(name, path, confType, alias string, watcher bool) error + func InitFrameworkConfig(path, alias string, watcher bool) error + func InitXmlConfig(path, alias string, watcher bool) error + func IsTest() bool + func NewViper() *viper.Viper