parameter

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Maker

type Maker interface {
	Make(config interface{}) (Parameter, error)
}

func CreateMaker

func CreateMaker(fnd app.Foundation) Maker

type Parameter

type Parameter interface {
	BoolValue() bool
	IntValue() int
	FloatValue() float64
	StringValue() string
	ArrayValue() []Parameter
	MapValue() map[string]Parameter
	Type() Type
}

type Type

type Type int
const (
	NilType Type = iota
	BoolType
	IntType
	FloatType
	StringType
	ArrayType
	MapType
)

Jump to

Keyboard shortcuts

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