Documentation ¶
Overview ¶
Package scripting provides a generic abstraction layer for running scripts at runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOptions = Options{ StackDepthLimit: 32, Timeout: 100 * time.Millisecond, }
DefaultOptions are the default Options.
Functions ¶
This section is empty.
Types ¶
type AheadOfTimeEngine ¶ added in v3.18.0
type AheadOfTimeEngine interface { Engine Compile(ctx context.Context, script string) (run func(context.Context, string, ...interface{}) (func(interface{}) error, error), err error) }
AheadOfTimeEngine extends Engine with the capability of compiling the script ahead of time.
Directories ¶
Path | Synopsis |
---|---|
Package javascript implements a Javascript scripting engine.
|
Package javascript implements a Javascript scripting engine. |
Click to show internal directories.
Click to hide internal directories.