executor

package
v0.0.0-...-2d054f7 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostSensorValues

func PostSensorValues(output DecoderOutput, script *edge.ScriptCodec, device *edge.Device, deviceID string) error

Types

type DecoderOutput

type DecoderOutput struct {
	Data     map[string]any `json:"data"`
	Warnings []string       `json:"warnings"`
	Errors   []string       `json:"errors"`
}

type JavaScriptExecutor

type JavaScriptExecutor struct{}

func (JavaScriptExecutor) ExecutorName

func (JavaScriptExecutor) ExecutorName() string

func (JavaScriptExecutor) MarshalDevice

func (JavaScriptExecutor) MarshalDevice(script *edge.ScriptCodec, deviceID string, headers http.Header, w io.Writer) error

func (JavaScriptExecutor) UnmarshalDevice

func (JavaScriptExecutor) UnmarshalDevice(script *edge.ScriptCodec, deviceID string, headers http.Header, r io.Reader) error

Jump to

Keyboard shortcuts

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