config

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 13 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) Pretty

func (c *Config) Pretty() bool

func (*Config) Proxies

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

Jump to

Keyboard shortcuts

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