Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APP struct{ Setting Setting }
Functions ¶
This section is empty.
Types ¶
type AttrConfig ¶
type AttrConfig struct {
// contains filtered or unexported fields
}
******************** 配置文件属性 ********************
func Content ¶
func Content(content any) AttrConfig
func (AttrConfig) Register ¶
func (my AttrConfig) Register(setting *Setting)
type AttrConfigFilename ¶
type AttrConfigFilename struct {
// contains filtered or unexported fields
}
******************** 配置文件属性 ********************
func ConfigFilename ¶
func ConfigFilename(configFilename string) AttrConfigFilename
func (AttrConfigFilename) Register ¶
func (my AttrConfigFilename) Register(setting *Setting)
type AttrEnvName ¶
type AttrEnvName struct {
// contains filtered or unexported fields
}
******************** 配置文件属性 ********************
func EnvName ¶
func EnvName(envName string) AttrEnvName
func (AttrEnvName) Register ¶
func (my AttrEnvName) Register(setting *Setting)
type AttrOnChange ¶
type AttrOnChange struct {
// contains filtered or unexported fields
}
******************** 配置文件属性 ********************
func (AttrOnChange) Register ¶
func (my AttrOnChange) Register(setting *Setting)
type Setting ¶
type Setting struct {
// contains filtered or unexported fields
}
******************** 配置文件 ******************** Setting
func (Setting) SetAttrs ¶
func (my Setting) SetAttrs(attrs ...SettingAttributes) Setting
type SettingAttributes ¶
type SettingAttributes interface{ Register(setting *Setting) }
******************** 配置文件属性 ********************
Click to show internal directories.
Click to hide internal directories.