configvalidate

package
v1.124.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type_String uint16 = iota
	Type_Integer
	Type_Float
	Type_Bool
	Type_Duration
)

Variables

View Source
var (
	Command_IsType              = Command{1, 0}
	Command_Exists              = Command{2, 0}
	Command_Absent              = Command{3, 0}
	Command_EqualsEitherString  = Command{4, 0}
	Command_EqualsEitherNumber  = Command{5, 0}
	Command_NumberIsInRange     = Command{6, 0}
	Command_ArrayContainsEither = Command{7, 0}
	Command_ArrayContainsAll    = Command{8, 0}
)

Functions

This section is empty.

Types

type Command

type Command [2]uint8

type Instruction

type Instruction struct {
	Id      string
	Command Command // program -> instruction -> command
	Path    []string
	Type    uint16
	Values  []any
}

func (*Instruction) Execute

func (i *Instruction) Execute(s any) (err error)

Jump to

Keyboard shortcuts

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