bridgebin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package bridgebin contains platform-specific Wasmtime shared libraries.

Index

Constants

This section is empty.

Variables

View Source
var ErrIntegrity = errors.New("embedded component bridge failed integrity verification")
View Source
var ErrUnavailable = errors.New("embedded component bridge is unavailable for this platform")

Functions

func AssetName

func AssetName() (string, error)

AssetName returns the release asset name for the current Go platform.

func Install

func Install(compressed []byte, expectedSHA256 string) (string, error)

Install verifies and atomically materializes a packaged bridge. It is also used for versioned release assets on platforms not embedded in module source.

func Library

func Library() (string, error)

Library materializes the embedded shared library in the user's cache directory. The filename includes a content hash, so upgrades and concurrent processes do not overwrite a loaded library.

Types

This section is empty.

Jump to

Keyboard shortcuts

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