Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + var Defaults = config.NATS + var Group = command.Register(command.Define("nats", "Run the embedded NATS server", command.Flat(), ...)) + var StartLogs = []command.LogLine + func Components(ctx context.Context, d Deps) (command.Running, error) + func Start(ctx context.Context, d Deps) (command.Running, error) + type Deps struct + Config config.Config + ConfigFile string + Logger *slog.Logger + NewServer func(ctx context.Context, log *slog.Logger, cfg config.NATS, ...) (Server, error) + Version string + type Server interface + Start func() + StartHeartbeat func(ctx context.Context, version string, conditions config.ProcessConditions) + Stop func(ctx context.Context)