Documentation
¶
Rendered for js/wasm
Overview ¶
Package wasmguest is a go client implementation compatible with the wasmrpc main module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCClient ¶
type RPCClient struct {
// contains filtered or unexported fields
}
RPCClient is a reusable client for making wasmrpc host requests.
func NewRPCClient ¶
NewRPCClient initializes a new client with the given capacity size. All client<->host messages must fit in the given capacity and a minimum of 256 bytes is recommended.
Source Files
¶
- wasmguest.go
Click to show internal directories.
Click to hide internal directories.