yaml

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigYaml

type ConfigYaml struct {
	models.Config
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL