Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigFormat ¶
type ConfigFormat string
const ( FormatYAML ConfigFormat = "yaml" FormatJSON ConfigFormat = "json" FormatTOML ConfigFormat = "toml" )
type ConfigReader ¶
type ConfigReader struct { Format string // contains filtered or unexported fields }
func (*ConfigReader) Export ¶
func (cr *ConfigReader) Export() (interface{}, error)
Retuns the configuration data into a generic object for for us.
Click to show internal directories.
Click to hide internal directories.