scripting

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

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

Go to latest
Published: Apr 20, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelScriptInternal

func CancelScriptInternal(guid string) error

func StartScript

func StartScript(hostPort string, scriptCode []ScriptCode, apiKey string, scriptCaller ScriptCaller) (string, error)

Types

type ScriptCaller

type ScriptCaller interface {
	GetGUID() string
	RecordError(string)

	SetFullOutput(string)
	SetOutput(string)
	SetStatus(string)
}

type ScriptCode

type ScriptCode struct {
	Code       string
	Filename   string
	MainScript bool
}

ScriptCode contains an individual file to be run as part of a script

Jump to

Keyboard shortcuts

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