Documentation ¶
Overview ¶
Package setting 设置
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Setting ¶
type Setting struct {
// contains filtered or unexported fields
}
Setting 使用viper读取设置信息
func (*Setting) ReadSection ¶
ReadSection 根据给定的建造的写入map section
func (*Setting) ReloadAllSections ¶
ReloadAllSections 重载所有键值对
func (*Setting) WatchSettingChange ¶
func (s *Setting) WatchSettingChange()
WatchSettingChange 配置热更新
Click to show internal directories.
Click to hide internal directories.