wc

package
v0.0.0-...-3be3c9f Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MemoryConfig
}

type ConverterBuilder

type ConverterBuilder func(ctx context.Context, wasmBytes []byte) (ch.RawConverter, error)

Creates a ch.RawConverter.

type MemoryConfig

type MemoryConfig struct {
	PageMax uint32
}

type SimpleFloat

type SimpleFloat interface {
	float32 | float64
}

type SimpleFunc

type SimpleFunc[I, O SimpleType] func(ctx context.Context, input I) (output O, e error)

type SimpleFuncBuilder

type SimpleFuncBuilder[I, O SimpleType] func(ctx context.Context, wasm []byte) (SimpleFunc[I, O], error)

type SimpleFuncBuilderII

type SimpleFuncBuilderII[T, U, V SimpleType] func(
	ctx context.Context,
	wasm []byte,
) (SimpleFuncII[T, U, V], error)

type SimpleFuncII

type SimpleFuncII[T, U, V SimpleType] func(ctx context.Context, t T, u U) (v V, e error)

type SimpleInteger

type SimpleInteger interface {
	int32 | int64
}

type SimplePositive

type SimplePositive interface {
	uint32 | uint64
}

type SimpleType

type SimpleType interface {
	SimpleFloat | SimplePositive | SimpleInteger
}

Directories

Path Synopsis
wazero
mem

Jump to

Keyboard shortcuts

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