Documentation ¶
Overview ¶
Package javascript provides a runtime wrapper for executing JavaScript in Go.
This exposes a simple runtime that can be used for executing JavaScript prgorams.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func NewRuntime ¶
func NewRuntime() *Runtime
NewRuntime returns a new Runtime. Access the vm via the VM() accessor.
Directories ¶
Path | Synopsis |
---|---|
Package libk8s provides a JavaScript library for Kubernetes.
|
Package libk8s provides a JavaScript library for Kubernetes. |
Package module implements a Node.js-like modular system for Go/Otto Bind this module to the Otto runtime and then within JavaScript a require stanza can be used.
|
Package module implements a Node.js-like modular system for Go/Otto Bind this module to the Otto runtime and then within JavaScript a require stanza can be used. |
Click to show internal directories.
Click to hide internal directories.