Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModeType ¶
type ModeType string
ModeType 模式类型
type TomlConfig ¶
type TomlConfig struct { C map[string]interface{} // contains filtered or unexported fields }
Config 公共配置
func NewTomlConfig ¶
func NewTomlConfig() *TomlConfig
func (*TomlConfig) Init ¶
func (c *TomlConfig) Init(mode ModeType, path, configName, host, meta string) error
func (*TomlConfig) Register ¶
func (c *TomlConfig) Register(key string, conf interface{})
Click to show internal directories.
Click to hide internal directories.