This program uses the public pkg/client library to submit a compiled debuglet and print its output. It defaults to the loopback dispatcher started by dbl up.
dbl up
make wasm SAMPLE_DIR=examples/debuglets/go/hello-local
go run ./examples/client --wasm examples/debuglets/go/hello-local/debuglet.wasm
Pass --endpoint, --executor, --allow, and --register for a managed dispatcher. The example deliberately does not retain credentials; an application should store account keys and sessions with owner-only permissions. See the Go client library guide.
Command client submits a WASM measurement to a Debuglet environment and
prints its output using only the public Go SDK. Without flags it expects the
loopback environment of dbl up; --register, --allow-remote-test and --allow
add what a dispatcher on another host needs. See the project Wiki for managed deployments.