Help us shape the future of Go! Take the 2026 Go Developer Survey

web

command
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

SCOPE:plugin — GoAkt lifecycle (room actor system)

SCOPE:core - DO NOT REMOVE - Server entry point. This is the main binary. Package main wires the binary's startup sequence: the flat chi stack (internal/server), the goqite-backed chat queue it owns, optional NATS JetStream realtime, and the DagNats durable workflow engine (always compiled; opt out at runtime via DAGNATS_ENABLED).

Boot order is a graph, not a line: BootChi builds everything engine-free (and returns the todo handler the onboarding worker writes through), DagNats then owns the embedded NATS :4222, startNATS attaches to it, and AttachJetStream + Serve finish the stack. run() blocks until SIGINT or SIGTERM, so every deferred cleanup runs in reverse order on the way out.

Jump to

Keyboard shortcuts

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