wasm

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config = map[string]Mapping{
		"detective": {
			Filename: "detective_0_0_13.wasm",
			FuncName: "f",
		},
		"transform": {
			Filename: "transform_0_0_13.wasm",
			FuncName: "f",
		},
		"httprequest": {
			Filename: "httprequest_0_0_13.wasm",
			FuncName: "f",
		},
		"kv": {
			Filename: "kv_0_0_13.wasm",
			FuncName: "f",
		},
		"inferschema": {
			Filename: "inferschema_0_0_13.wasm",
			FuncName: "f",
		},
		"validjson": {
			Filename: "validjson_0_0_13.wasm",
			FuncName: "f",
		},
	}
)

Functions

This section is empty.

Types

type Mapping

type Mapping struct {
	ID       string
	Filename string
	FuncName string
	Contents []byte // Filled out by Load
}

func Load

func Load(name string, prefix ...string) (*Mapping, error)

Load loads a WASM file from disk; you can pass an optional prefix

Jump to

Keyboard shortcuts

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