Documentation
¶
Overview ¶
Package compute registers content-addressed Web Worker and WebAssembly assets for GoFastr applications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWASM ¶
RegisterWASM registers a WebAssembly module under name. Re-registering identical bytes is a no-op; conflicting bytes panic.
func RegisterWorker ¶
RegisterWorker registers a self-contained Web Worker script under name. Re-registering identical bytes is a no-op; conflicting bytes panic.
Types ¶
type Asset ¶
type Asset struct {
// contains filtered or unexported fields
}
Asset is an immutable registered compute asset.
func LookupWASM ¶
LookupWASM returns the registered WebAssembly asset for name.
func LookupWorker ¶
LookupWorker returns the registered worker asset for name.
Click to show internal directories.
Click to hide internal directories.