config

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func ParseFlags

func ParseFlags() *Config

func (*Config) LogLevel

func (c *Config) LogLevel() zapcore.Level

func (*Config) Logger added in v0.0.17

func (c *Config) Logger() *zap.Logger

func (*Config) Pretty

func (c *Config) Pretty() bool

func (*Config) Proxies

func (c *Config) Proxies(log *zap.Logger) (proxies []*proxy.Proxy, err error)

func (*Config) Statsd added in v0.0.17

func (c *Config) Statsd() *statsd.Client

Jump to

Keyboard shortcuts

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