fssdk

package module
v0.0.0-...-6ab4638 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package fssdk is the Function Stream Go SDK for WASM processors. Implement Driver (or embed BaseDriver) and call Run(driver).

Index

Constants

View Source
const (
	ErrRuntimeInvalidDriver  = api.ErrRuntimeInvalidDriver
	ErrRuntimeNotInitialized = api.ErrRuntimeNotInitialized
	ErrRuntimeClosed         = api.ErrRuntimeClosed
	ErrStoreInvalidName      = api.ErrStoreInvalidName
	ErrStoreInternal         = api.ErrStoreInternal
	ErrStoreNotFound         = api.ErrStoreNotFound
	ErrStoreIO               = api.ErrStoreIO
	ErrResultUnexpected      = api.ErrResultUnexpected
)

Re-export error codes.

Variables

This section is empty.

Functions

func Run

func Run(driver Driver)

Run wires the driver to the WASM processor. Call from main.

Types

type BaseDriver

type BaseDriver = api.BaseDriver

Re-export API types and errors so existing code keeps using fssdk.*.

type ComplexKey

type ComplexKey = api.ComplexKey

Re-export API types and errors so existing code keeps using fssdk.*.

type Context

type Context = api.Context

Re-export API types and errors so existing code keeps using fssdk.*.

type Driver

type Driver = api.Driver

Re-export API types and errors so existing code keeps using fssdk.*.

type ErrorCode

type ErrorCode = api.ErrorCode

Re-export API types and errors so existing code keeps using fssdk.*.

type Iterator

type Iterator = api.Iterator

Re-export API types and errors so existing code keeps using fssdk.*.

type Module

type Module = api.Module

Re-export API types and errors so existing code keeps using fssdk.*.

type SDKError

type SDKError = api.SDKError

Re-export API types and errors so existing code keeps using fssdk.*.

type Store

type Store = api.Store

Re-export API types and errors so existing code keeps using fssdk.*.

Directories

Path Synopsis
state

Jump to

Keyboard shortcuts

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