config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger *logo.Logger

	Loggers []*logo.Logger
)
View Source
var (
	ConfigFile string
	Cfg        = Config{}
)

Functions

func GetNewLogger

func GetNewLogger(prefix string) *logo.Logger

func SetLogLevel

func SetLogLevel(level logo.Level)

Types

type Config

type Config struct {
	Silent            bool
	Debug             bool                      `mapstructure:"debug"`
	Verbose           bool                      `mapstructure:"verbose"`
	ConcurrentWorkers int                       `mapstructure:"concurrent_workers"`
	LicensesOutputDir string                    `mapstructure:"licenses_output_dir"`
	ContactInfo       *contact_info.ContactInfo `mapstructure:"contact_info"`
	Reseller          string                    `mapstructure:"resseller"`
	Binding           string                    `mapstructure:"binding"`
}

Jump to

Keyboard shortcuts

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