Help us shape the future of Go! Take the 2026 Go Developer Survey

scriptrt

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package scriptrt owns the deployment resource protocol for script runtimes. The contract itself is core/agent.ScriptRuntime; this package registers the concrete JavaScript and Lua implementations (scriptrt/jsrt and scriptrt/luart) as resource factories under the shared agent.ScriptRuntime kind.

Index

Constants

View Source
const ResourceKind = "agent.ScriptRuntime"

ResourceKind is the deployment resource kind implemented by script runtimes.

Variables

This section is empty.

Functions

func Register

func Register(r *resource.Registry) error

Register adds the JavaScript and Lua script runtime factories to r.

Types

This section is empty.

Directories

Path Synopsis
Package jsrt provides a goja-based JavaScript implementation of agent.ScriptRuntime.
Package jsrt provides a goja-based JavaScript implementation of agent.ScriptRuntime.
Package luart provides a pure-Go Lua 5.1 implementation of agent.ScriptRuntime using github.com/yuin/gopher-lua (no CGO).
Package luart provides a pure-Go Lua 5.1 implementation of agent.ScriptRuntime using github.com/yuin/gopher-lua (no CGO).

Jump to

Keyboard shortcuts

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