common

package
Version: v0.0.0-...-67873a1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Sig = make(chan os.Signal, 1)

	UserConfig    *viper.Viper
	KafkaProducer *kafka.Producer // send agent raw data

	ConfPath string
	LocalIP  string //server本地IP

	ManageAddrs []string // addrlist of Management Center

	SdAddrs []string // addrlist of service discovery center
	SvrName string   // Name registered to the service discovery center
	SvrAK   string   // access key, which use for http sign
	SvrSK   string   // secret key, which use for http sign

	GRPCPort  int //grpc
	ConnLimit int

	HttpPort       int
	HttpSSLEnable  bool
	SSLKeyFile     string
	SSLCertFile    string
	SSLCaFile      string
	HttpAuthEnable bool
	HttpAkSkMap    map[string]string //access key and secret key list, which used to identify whether the http request comes from a known subject

	PProfEnable bool
	PProfPort   int //pprof
)

Functions

This section is empty.

Types

This section is empty.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL