Versions in this module Expand all Collapse all v1 v1.3.3 Mar 24, 2023 Changes in this version + func CreateNacosCfg(cfg *nacosCfg) (err error) + func ExpandExpEnv(env map[string]interface{}, exp string) (realValue string) + func ExpandValueAnalysis(env map[string]interface{}, value string) (realValue string) + func ParseYML(buf []byte) (data map[string]interface{}, err error) + func ReplaceExp(env map[string]interface{}, content yaml.MapSlice) map[string]interface + type YmlCfg struct + func (self *YmlCfg) Available(ctx context.Context, resource ...string) (ok bool) + func (self *YmlCfg) Data(ctx context.Context) (data map[string]interface{}, err error) + func (self *YmlCfg) Get(ctx context.Context, pattern string) (value interface{}, err error) + func (self *YmlCfg) GetValue(name string) interface{} + func (self *YmlCfg) LoadData(data []byte) (err error) + func (self *YmlCfg) LoadFromFile(filePath string) (err error) + func (self *YmlCfg) LoadFromFolders(fileName string, searchFolds ...string) (err error)