Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsoleLog ¶ added in v0.3.2
func ConsoleLog(msg string)
ConsoleLog writes the message the underlying waPC console logger.
func HostCall ¶
HostCall invokes an operation on the host. The host uses `namespace` and `operation` to route to the `payload` to the appropriate operation. The host will return a response payload if successful.
func RegisterFunction ¶ added in v0.3.0
RegisterFunction adds a single function by name to the registry. This should be invoked in `main()`.
func RegisterFunctions ¶ added in v0.3.0
func RegisterFunctions(functions Functions)
RegisterFunctions adds functions by name to the registry. This should be invoked in `main()`.
Types ¶
Click to show internal directories.
Click to hide internal directories.