config

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Debug           bool          `default:"false" desc:"enable debug logging"`
	NeedClusterInfo bool          `default:"true" desc:"need agent register cluster info"`
	AuthWhitelist   string        `desc:"auth whitelist, will skip auth"`
	Timeout         time.Duration `default:"60s" desc:"default timeout"`
	Listen          string        `default:":80" desc:"listen address"`
}

Jump to

Keyboard shortcuts

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