This is a basic example of constructing a controllerbus, running a controller,
and executing a directive against that controller. It runs in all platforms that
Go or TinyGo support, including the web browser with WebAssembly or GopherJS.
Running on Desktop
To run on a host with the Go tool:
go run ./
Running in Browser with WebAssembly
Build the WebAssembly payload and run the server:
./wasm.bash
Browse to localhost:5000, open the console to view the log messages, and click
"Run" to start the program.