Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeafultConf ¶
type DeafultConf struct { Key string `bind:"must"` Name string `bind:"should"` Child []*DeafultConf `bind:"must"` // contains filtered or unexported fields }
* * 获取配置信息,默认获取获取default日志,配置文件bind级别分为must,should,must是必须参数,should是非必须参数,不配置则不判断bind
func ConfIntance ¶
func ConfIntance() *DeafultConf
func (*DeafultConf) Init ¶
func (conf *DeafultConf) Init() *DeafultConf
Click to show internal directories.
Click to hide internal directories.