Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vm ¶
type Vm interface { // RunScript runs script. RunScript(script string) (gany.Val, error) // MapGoValueToScript allows script to access go runtime `value` with `name`. // Usually `value` is a pointer in the go runtime. MapGoValueToScript(name string, value interface{}) error // MapScriptFuncToGo allows go runtime to access script function. MapScriptFuncToGo(funcName string) (Callable, error) }
Vm is script interpreter.
Click to show internal directories.
Click to hide internal directories.