Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IntoExternCreator ¶
type IntoExternCreator func(*wasmer.Store) wasmer.IntoExtern
type WASM ¶
func LoadWASMFile ¶
func LoadWASMFile(wasmFile string, imports *WASMImports) (*WASM, error)
type WASMIECs ¶
type WASMIECs map[string]IntoExternCreator
type WASMImports ¶
func NewWASMImports ¶
func NewWASMImports() *WASMImports
func (*WASMImports) Add ¶
func (w *WASMImports) Add(ns string, name string, creator IntoExternCreator) *WASMImports
func (*WASMImports) AddItems ¶
func (w *WASMImports) AddItems(ns string, creators *WASMIECs) *WASMImports
func (*WASMImports) Del ¶
func (w *WASMImports) Del(namespaces ...string) *WASMImports
func (*WASMImports) DelCreator ¶
func (w *WASMImports) DelCreator(ns string, names ...string) *WASMImports
Click to show internal directories.
Click to hide internal directories.