Versions in this module Expand all Collapse all v0 v0.0.2 Jun 16, 2019 Changes in this version + func GetRenderedConfFromFile(path string) (out string, err error) + func LoadAllCatalogFromIni(content string) (catalogs map[string]*CatalogConf, err error) + func ParseIgnoreRegexp(ignore string) []string + func ParseIgnoreSuffix(ignore string) []string + func ReaderContent(in string) (out string, err error) + type CatalogConf struct + ChildFile []string + IgnoreRegexp []string + IgnoreSuffixs []string + Name string + Path string + func (cf *CatalogConf) Check() (err error) + func (cf *CatalogConf) FullFilePath(filePath string) string + func (cf *CatalogConf) HasChildFile(childfile string) (ok bool) + type ServerCommonConf struct + AssetsDir string + BindAddr string + BindPort int + ConnMaxTime time.Duration + HeartInterval time.Duration + IgnoreRegexp []string + IgnoreSuffix []string + LastReadOffset int64 + LogFile string + LogLevel string + LogMaxDays int64 + LogWay string + Pwd string + User string + func GetDefaultServerConf() *ServerCommonConf + func UnmarshalServerConfFromIni(defaultCfg *ServerCommonConf, content string) (cfg *ServerCommonConf, err error) + func (cfg *ServerCommonConf) Check() (err error) + type Values struct + Envs map[string]string + func GetValues() *Values