config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 16 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 {
	// contains filtered or unexported fields
}

func ParseFlags

func ParseFlags() *Config

func (*Config) LogLevel

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

func (*Config) Logger

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

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

Jump to

Keyboard shortcuts

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