Documentation ¶
Overview ¶
Code generated by "gogen cfggen"; DO NOT EDIT. Exec: gogen cfggen -n Config -o gen_configs.go Version: 0.0.1
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { DB string `json:"db,omitempty"` User string `json:"user,omitempty"` Pass string `json:"pass,omitempty"` Addr string `json:"addr,omitempty"` Charset string `json:"charset,omitempty"` Collation string `json:"collation,omitempty"` // contains filtered or unexported fields }
Config config generate by gogen cfggen.
func NewDefaultConfig ¶
func (*Config) RefreshValue ¶
func (cfg *Config) RefreshValue(cc configcentra.ConfigCentra) error
impl configcentra.ConfigValue
func (*Config) SetDefaultValue ¶
func (cfg *Config) SetDefaultValue(cc configcentra.ConfigCentra)
impl configcentra.ConfigValue
Click to show internal directories.
Click to hide internal directories.