Documentation ¶ Index ¶ func Close() func Get(pattern string, def ...any) value.Value func GetConfigurator() config.Configurator func Has(pattern string) bool func Match(patterns ...string) config.Matcher func Set(pattern string, value any) error func SetConfigurator(configurator config.Configurator) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Close ¶ func Close() Close 关闭配置监听 func Get ¶ func Get(pattern string, def ...any) value.Value Get 获取配置值 func GetConfigurator ¶ func GetConfigurator() config.Configurator GetConfigurator 获取配置器 func Has ¶ func Has(pattern string) bool Has 是否存在配置 func Match ¶ func Match(patterns ...string) config.Matcher Match 匹配多个规则 func Set ¶ func Set(pattern string, value any) error Set 设置配置值 func SetConfigurator ¶ func SetConfigurator(configurator config.Configurator) SetConfigurator 设置配置器 Types ¶ This section is empty. Source Files ¶ View all Source files etc.go Click to show internal directories. Click to hide internal directories.