Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleBuilder ¶
type ModuleBuilder struct {
// contains filtered or unexported fields
}
func NewModuleBuilder ¶
func NewModuleBuilder() *ModuleBuilder
func NewModuleBuilderWith ¶
func NewModuleBuilderWith(in map[string]*wasm.Module) *ModuleBuilder
func (*ModuleBuilder) Done ¶
func (m *ModuleBuilder) Done() map[string]*wasm.Module
func (*ModuleBuilder) MustSetFunction ¶
func (m *ModuleBuilder) MustSetFunction(modName, funcName string, fn func(machine *wasm.VirtualMachine) reflect.Value)
func (*ModuleBuilder) SetFunction ¶
func (m *ModuleBuilder) SetFunction(modName, funcName string, fn func(machine *wasm.VirtualMachine) reflect.Value) error
Click to show internal directories.
Click to hide internal directories.