Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExConfImpl ¶
type ExConfImpl struct {
ExName string
}
type MyConfImpl ¶
type MyConfImpl struct { MyName string MyAge int8 Ex *ExConfImpl }
var MyConf MyConfImpl
func (*MyConfImpl) InitDefaultConfig ¶
func (this *MyConfImpl) InitDefaultConfig(vp *viper.Viper)
type NodeConf ¶
var Nodes NodeConf
func (*NodeConf) InitDefaultConfig ¶
func (*NodeConf) JsonToNodesOptHookFunc ¶
func (*NodeConf) JsonToNodesOptHookFunc() mapstructure.DecodeHookFuncType
JsonToNodesOptHookFunc 解码json字符串的nodesOpt map
Click to show internal directories.
Click to hide internal directories.