config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2019 License: Apache-2.0 Imports: 1 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool func() bool

type Config

type Config interface {
	Bool(key string, desc string) Bool
	Float(key string, desc string) Float
	Int(key string, desc string) Int
	UInt(key string, desc string) UInt
	Slice(key, delimiter string, desc string) Slice
	String(key string, desc string) String
	StringMap(key string, desc string) StringMap
}

type Float

type Float func() float64

type Int

type Int func() int

type Int64 added in v1.1.0

type Int64 func() int64

type Manager

type Manager interface {
	Register(meta.Meta) Config
	PluginVariables(id meta.ID) []Variable
}

type Slice

type Slice func() []interface{}

type String

type String func() string

type StringMap

type StringMap func() map[string]interface{}

type UInt

type UInt func() uint

type UInt64 added in v1.1.0

type UInt64 func() uint64

type Variable

type Variable struct {
	Name        string
	Description string
}

Jump to

Keyboard shortcuts

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