runtimedata

package
v0.0.0-...-553deb4 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataWithVersion

type DataWithVersion struct {
	Version Version        `yaml:"version"`
	Data    map[string]any `yaml:"data"`
}

func WithVersion

func WithVersion(version string, data map[string]any) (DataWithVersion, error)

type InitialStateMap

type InitialStateMap interface {
	InitialState() RuntimeData
}

type Key

type Key struct {
	Index      int
	Constraint string
}

type LayoutMap

type LayoutMap interface {
	Layout() RuntimeData
}

type RuntimeData

type RuntimeData interface {
	Data() ([]byte, error)
}

type Version

type Version struct {
	Major uint64 `yaml:"major"`
	Minor uint64 `yaml:"minor"`
	Patch uint64 `yaml:"patch"`
}

Jump to

Keyboard shortcuts

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