config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 5 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 {
	LogEnabled bool
	LogPath    string
	LogLevel   logLevel
}

func Default

func Default() Config

func NewCopy

func NewCopy(config *Config) Config

func Parse

func Parse(filename string) (*Config, error)

func (*Config) PrintDebug

func (c *Config) PrintDebug(logger *logrus.Logger)

Jump to

Keyboard shortcuts

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