opt

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Unlicense Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)

Functions

This section is empty.

Types

type Option

type Option interface {
	LoadInput(input string) (o Option, e error)
	ReadInput(input string) (o Option, e error)
	GetMetadata() *meta.Data
	Name() string
	String() string
	MarshalJSON() (b []byte, e error)
	UnmarshalJSON(data []byte) (e error)
	GetAllOptionStrings() []string
	Type() interface{}
	SetName(string)
}

Option is an interface to simplify concurrent-safe access to a variety of types of configuration item

Jump to

Keyboard shortcuts

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