Documentation
¶
Overview ¶
Package config provides functionality for initializing and parsing a yaml configuration file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
Configuration represents the contents of a krf configuration file.
func InitAndLoad ¶
func InitAndLoad(filename string) (*Configuration, error)
InitAndLoad creates the named configuration file if it does not exist and then subsequently loads it.
func Load ¶
func Load(filename string) (*Configuration, error)
Load parses the named configuration file.
Click to show internal directories.
Click to hide internal directories.