config

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

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
	Int8(key string, desc string) Int8
	Int32(key string, desc string) Int32
	Int64(key string, desc string) Int64
	UInt(key string, desc string) UInt
	UInt32(key string, desc string) UInt32
	UInt64(key string, desc string) UInt64
	Slice(key string, desc string) Slice
	SliceInt(key string, desc string) SliceInt
	SliceString(key string, desc string) SliceString
	String(key string, desc string) String
	StringMap(key string, desc string) StringMap
	StringMapInt(key string, desc string) StringMapInt
	StringMapSliceString(key string, desc string) StringMapSliceString
	StringMapString(key string, desc string) StringMapString
}

type Float

type Float func() float64

type Int

type Int func() int

type Int32

type Int32 func() int32

type Int64

type Int64 func() int64

type Int8

type Int8 func() int8

type Manager

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

type Slice

type Slice func() []interface{}

type SliceInt

type SliceInt func() []int

type SliceString

type SliceString func() []string

type String

type String func() string

type StringMap

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

type StringMapInt

type StringMapInt func() map[string]int

type StringMapSliceString

type StringMapSliceString func() map[string][]string

type StringMapString

type StringMapString func() map[string]string

type UInt

type UInt func() uint

type UInt32

type UInt32 func() uint32

type UInt64

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