Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSRunner ¶
type JSRunner interface { RunString(code string) (JSValue, error) NewObject() JSObject Set(name string, value interface{}) error WaitPromise(ctx context.Context, val JSValue) (interface{}, error) Engine() Engine MustGet(string) (JSValue, error) }
func NewJSRunner ¶
func NewJSRunner() JSRunner
Click to show internal directories.
Click to hide internal directories.