Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONParser ¶
type JSONParser struct{}
type Parser ¶
type Parser interface { // Parse parses a config using the Parser's algorithm Parse(content []byte, c map[string]interface{}) error }
Parser defines methods a source should implement, to parse a config from array of bytes
func MustGetParser ¶
MustGetParser gets parser by format. It will call panic() if format is unknown
type PropertiesParser ¶
type PropertiesParser struct{}
type TOMLParser ¶
type TOMLParser struct{}
type YAMLParser ¶
type YAMLParser struct{}
Click to show internal directories.
Click to hide internal directories.