Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶ added in v0.13.0
type Bundle struct { Filename string Program *goja.Program Options lib.Options BaseInitContext *InitContext }
A Bundle is a self-contained bundle of scripts and resources. You can use this to produce identical BundleInstance objects.
func (*Bundle) Instantiate ¶ added in v0.13.0
func (b *Bundle) Instantiate() (*BundleInstance, error)
Instantiates a new runtime from this bundle.
type BundleInstance ¶ added in v0.13.0
A BundleInstance is a self-contained instance of a Bundle.
type Console ¶ added in v0.10.0
func NewConsole ¶ added in v0.13.0
func NewConsole() *Console
type InitContext ¶ added in v0.13.0
type InitContext struct { // Console object. Console *Console // contains filtered or unexported fields }
Provides APIs for use in the init context.
func NewInitContext ¶ added in v0.13.0
type Runner ¶
type Runner struct { Bundle *Bundle Dialer *netext.Dialer // contains filtered or unexported fields }
func (*Runner) ApplyOptions ¶
func (*Runner) GetDefaultGroup ¶ added in v0.5.0
func (*Runner) GetOptions ¶
Click to show internal directories.
Click to hide internal directories.