package
0.0.0-20220803111335-1d0ba015c3fd
Repository: https://github.com/andersnormal/pkg.git
Documentation: pkg.go.dev

# Functions

New returns a new instance of the options.
NewDefaultOpts returns options with a default configuration.
WithLogger is setting a logger for options.

# Constants

DefaultKillSignal is the default signal for termination.
DefaultReloadSignal is the default signal for reload.
DefaultTermSignal is the signal to term the agent.
DefaultVerbose ...
KillSignal ...
Logger ...
ReloadSignal ...
TermSignal ...
Verbose ...

# Variables

ErrNotFound signals that this option is not set.

# Structs

DefaultOptions are a collection of default options.
Options is default options structure.

# Interfaces

DefaultOpts ...
Opts ...

# Type aliases

Opt ...
OptFunc is an option.