Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigParser ¶
type ConfigParser struct { }
ConfigParser is the struct for this implementation of IConfigParser.
func GetConfigParser ¶
func GetConfigParser() *ConfigParser
GetConfigParser returns a pointer to an implementation of IConfigParser.
func (*ConfigParser) ParseYamlConfig ¶
func (c *ConfigParser) ParseYamlConfig(path string) (models.Config, error)
ParseYamlConfig takes a string path to the yaml config file and returns a config model.
type IConfigParser ¶
IConfigParser is the interface to use for parsing file configurations.
Click to show internal directories.
Click to hide internal directories.