misc

package
v0.0.0-...-d050cfb Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(path string)

InitConfig ...

Types

type Config

type Config struct {
	Common struct {
		Version    string
		LogLevel   string
		AdminToken string
	}

	Agent struct {
	}

	Collector struct {
		Keeplive int
	}

	Etcd struct {
		Addrs    []string
		WatchDir string
		TimeOut  int
	}

	Pinpoint struct {
		InfoAddr           string // tcp addr for info
		StatAddr           string // udp addr for stat
		SpanAddr           string // udp addr for span
		SpanReportInterval int    // 全链路信息上报频率 单位毫秒
		SpanQueueLen       int
	}

	Health struct {
		Addr string
	}
}

Config ...

var Conf *Config

Conf ...

Jump to

Keyboard shortcuts

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