state_helper

package
v1.2.13-alpha0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreStateParser

type CoreStateParser struct {
	// contains filtered or unexported fields
}

func NewCoreStateParser

func NewCoreStateParser() CoreStateParser

func (CoreStateParser) ToString

func (p CoreStateParser) ToString(s state.CoreState) string

func (CoreStateParser) ToValue

func (p CoreStateParser) ToValue(x string) state.CoreState

type EntityStateParser

type EntityStateParser struct {
	// contains filtered or unexported fields
}

func NewEntityStateParser

func NewEntityStateParser() EntityStateParser

func (EntityStateParser) ToString

func (p EntityStateParser) ToString(s state.EntityState) string

func (EntityStateParser) ToValue

type StateParser

type StateParser struct {
	// contains filtered or unexported fields
}

func NewStateParser

func NewStateParser(prefix string, names map[int32]string, values map[string]int32) StateParser

func (StateParser) ToString

func (p StateParser) ToString(x int32) string

func (StateParser) ToValue

func (p StateParser) ToValue(x string) int32

Jump to

Keyboard shortcuts

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