echo

command
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Command echo is the smallest Worker Type that can be installed on atlas as an artifact: a separate executable built against workersdk alone, which atlas launches, verifies and supervises (ADR-0535, migration step 3).

It serves one job type, com.example.echo, completing each job with the variables it was given plus the name of the instance that echoed them. Its manifest's configuration schema asks for a greeting and a secret token; a configured Worker's greeting is echoed, its token only acknowledged. Build it, write its manifest with the binary's digest, and install both:

go build -o echo ./examples/workertypes/echo
curl -F manifest=@manifest.json -F artifact=@echo \
     -H "Authorization: Bearer $TOKEN" http://localhost:8080/api/v1/worker-types/installed

Installing an unsigned artifact needs a server started with --allow-unsigned-worker-types, which is for development only.

Jump to

Keyboard shortcuts

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