config

package
v0.0.0-...-b6b44b4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config   *ConfYaml
	Endpoint string
	Cwd      string
)

Functions

func Parse

func Parse(conf string) error

Types

type ConfYaml

type ConfYaml struct {
	Identity identity.IdentitySection `yaml:"identity"`
	Logger   logger.LoggerSection     `yaml:"logger"`
	Stra     stra.StraSection         `yaml:"stra"`
	Worker   worker.WorkerSection     `yaml:"worker"`
	Sys      sys.SysSection           `yaml:"sys"`
}

func Get

func Get() *ConfYaml

Get configuration file

Jump to

Keyboard shortcuts

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