Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// ModuleOptions are forwarded to geppetto.Register. Runner is always bound
// to the created runtime owner.
ModuleOptions gp.Options
// RequireOptions are applied to the runtime's module registry.
RequireOptions []require.Option
// IncludeDefaultModules enables go-go-goja default native modules in
// addition to geppetto.
IncludeDefaultModules bool
// RuntimeInitializers are executed after require/geppetto registration.
RuntimeInitializers []gojengine.RuntimeInitializer
}
Options configure a geppetto JavaScript runtime bootstrapped on top of the go-go-goja owned runtime builder.
Click to show internal directories.
Click to hide internal directories.