wasm

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Flight    wasmtype = "flight"
	Converter wasmtype = "converter"
)

Functions

func AirwayModuleDir

func AirwayModuleDir(airwayName string) string

Types

type Module added in v0.4.2

type Module struct {
	wazero.CompiledModule
	sync.RWMutex
}

func (*Module) Close added in v0.4.2

func (mod *Module) Close()

type ModuleCache added in v0.4.2

type ModuleCache struct {
	// contains filtered or unexported fields
}

func (*ModuleCache) Delete added in v0.4.2

func (cache *ModuleCache) Delete(name string)

func (*ModuleCache) Get added in v0.4.2

func (cache *ModuleCache) Get(name string) *Modules

type Modules added in v0.4.2

type Modules struct {
	Flight    *Module
	Converter *Module
}

func (*Modules) LockAll added in v0.4.2

func (modules *Modules) LockAll()

func (*Modules) Reset added in v0.4.2

func (modules *Modules) Reset()

func (*Modules) UnlockAll added in v0.4.2

func (modules *Modules) UnlockAll()

type Type

type Type interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL