Documentation
¶
Overview ¶
Package abi is the common interface for all ABI implementations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABI ¶
type ABI interface { exec.ImportResolver Namer Files() []File Open(File) }
ABI is the interface that is provided to a webaseembly module. Instances of this interface will live for the lifetime of webassembly modules.
This is low level intentionally.
type File ¶
type File interface { io.Closer io.Reader io.Writer Namer // Flush isn't required for all backends, but it is used for some, such as HTTP. Flush() error }
File is the most common denominator for most of what you usefully need out of files to make useful programs.
type FileOpener ¶
FileOpener opens a given file by URL.
Directories
¶
Path | Synopsis |
---|---|
Package cwa contains the ABI for CommonWA[1] applications.
|
Package cwa contains the ABI for CommonWA[1] applications. |
Package dagger is the first attempt at an API for webassembly modules to communicate with the outside world.
|
Package dagger is the first attempt at an API for webassembly modules to communicate with the outside world. |
Package wasmgo contains hacks and bindings in order to "mixin" the Go webassembly ABI to another webassembly module.
|
Package wasmgo contains hacks and bindings in order to "mixin" the Go webassembly ABI to another webassembly module. |