github.com/taubyte/vm-wasm-utils@v1.0.2/callBridge/types.go (about) 1 package callbridge 2 3 import ( 4 "github.com/taubyte/go-interfaces/vm" 5 "github.com/tetratelabs/wazero/api" 6 ) 7 8 var _ vm.Module = &callContext{} 9 10 type callContext struct { 11 wazero api.Module 12 } 13 14 type memory struct { 15 wazero api.Memory 16 } 17 18 type importedFn struct { 19 wazero api.Function 20 } 21 22 type importedFnDef struct { 23 wazero api.FunctionDefinition 24 } 25 26 type global struct { 27 wazero api.Global 28 }