wasmer

package module
v0.0.0-...-da384f3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: MIT Imports: 10 Imported by: 0

README

wasmer

wasmer executor for temphia

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OkAtom    = []wasmer.Value{wasmer.NewF32(1)}
	ErrAtom   = []wasmer.Value{wasmer.NewF32(0)}
	EmptyAtom = []wasmer.Value{}
)

Functions

func NewBuilder

func NewBuilder(app any) (etypes.ExecutorBuilder, error)

Types

type BindOptions

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

type Builder

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

func (*Builder) Instance

func (b *Builder) Instance(opts etypes.ExecutorOption) (etypes.Executor, error)

type Executor

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

func (*Executor) Process

func (e *Executor) Process(req *event.Request) (*event.Response, error)

type Memory

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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