Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileParser ¶
NewFileParser 对外提供配置文件解析器接口 fileType 文件类型 file 文件路径
Types ¶
type IniConfigParser ¶
type IniConfigParser struct { }
func (*IniConfigParser) Parse ¶
func (c *IniConfigParser) Parse(file string, dbConfCluster interface{}) (err error)
type JsonConfigParser ¶
type JsonConfigParser struct { }
func (*JsonConfigParser) Parse ¶
func (c *JsonConfigParser) Parse(file string, dbConfCluster interface{}) (err error)
type TomlConfigParser ¶
type TomlConfigParser struct { }
func (*TomlConfigParser) Parse ¶
func (c *TomlConfigParser) Parse(file string, dbConfCluster interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.