conf

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Conf conf
	Conf = &Config{}
)

Functions

func Init

func Init() (err error)

initConfig init config

Types

type Config

type Config struct {
	// discovery
	Discovery *discovery.Config `toml:"discovery"`
	// log
	Log *log.Config `toml:"log"`
	// flow monitor
	Flowmonitor *flowmonitor.Config `toml:"flowmonitor"`
	// limit
	Limit *limit.LimitConf `toml:"limit"`
	// debug
	DebugAddr string `toml:"debugAddr"`
	// httpstream
	HttpStream *httpstream.Config `toml:"httpstream"`
	// lancermonitor
	LancerMonitor *lancermonitor.Config `toml:"lancermonitor"`
	// hostlogcollector
	HostLogCollector *hostlogcollector.Config `toml:"hostlogcollector"`
	// docker log collector
	DockerLogCollector *dockerlogcollector.Config `toml:"dockerLogCollector"`
}

func (*Config) ConfigValidate

func (c *Config) ConfigValidate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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