Skip to main content

Install and adopt

The Go SDK is a framework-neutral module for explicit process registration. It uses only the standard library, opens no inbound port, and requires Go 1.22 or later.

go get github.com/basamento/synapsys-go-sdk@v0.1.0
import "github.com/basamento/synapsys-go-sdk"

worker, err := synapsys.New(
synapsys.WithWorkerName("operations-worker"),
)
if err != nil {
return err
}

Worker.Register accepts declarations created by Endless, EndlessContext, Progressive, and ProgressiveContext. Register everything before Start(). Core—not a timer in the SDK—decides when each declaration runs.

SYNAPSYS_CORE_URL=https://core.example.com
SYNAPSYS_CORE_TOKEN=syn_replace_with_a_worker_token

Version v0.1.0 is available through the Go module proxy and pkg.go.dev. See the source, the consumer example, and the release matrix.

Next: configure startup, logging, and shutdown.