example

command module
v0.0.0-...-f47a9f8 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

TinyGo Actor Example - Echo

This example takes an incoming HTTP request and returns a simple HTTP response. This is very similar to the existing echo samples that we have available. Feel free to experiment with the code to see how you can change the HTTP response easily.

Building

To build this code run the following command:

tinygo build -o ./echo.wasm -target wasm -no-debug .

Once built, you can execute the sign.sh shell script that will use wash to sign the module and make it available for running inside a wasmCloud host.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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