Versions in this module Expand all Collapse all v1 v1.0.0 Aug 18, 2022 Changes in this version + func Bytes(v interface{}) ([]byte, error) + func Error(v interface{}) (errVal, err error) + func FromBytes(v []byte) interface + func String(v interface{}) (string, error) + type Bridge struct + func BridgeFromBytes(name string, bytes []byte, imports *wasmer.Imports) (*Bridge, error) + func BridgeFromFile(name, file string, imports *wasmer.Imports) (*Bridge, error) + func (b *Bridge) CallFunc(fn string, args []interface{}) (interface{}, error) + func (b *Bridge) Run(ctx context.Context, init chan error) + func (b *Bridge) SetFunc(fname string, fn Func) error + type Func func(args []interface{}) (interface{}, error)