Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigYaml ¶
ConfigYaml is yaml config.
func NewConfig ¶
func NewConfig(confPath string) (ConfigYaml, error)
NewConfig returns new config struct.
func (ConfigYaml) GetConfig ¶
func (y ConfigYaml) GetConfig() models.Config
GetConfig got yaml config struct.
func (ConfigYaml) SetConfig ¶
func (ConfigYaml) SetConfig(conf models.Config)
SetConfig sets new yaml config struct.
Click to show internal directories.
Click to hide internal directories.