Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnmarshal is returned when config can't be unmarshaled. ErrUnmarshal = errors.New("max: can't unmarshal config value") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config represents a config file.
func ReadContent ¶
ReadContent creates a new config struct from a string.
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements yaml packages interface to unmarshal custom values.
Click to show internal directories.
Click to hide internal directories.