Documentation
¶
Overview ¶
Package app wires every component together. Both the binary and the test suite build an App from a Config, so nothing is only ever exercised in production.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Cfg *config.Config
DB *store.DB
Bus *bus.Bus
Notifier *sinks.Notifier
Broker *broker.Broker
Reg *executor.Registry
Sched *scheduler.Scheduler
Sessions *sessions.Manager
Memory memory.Provider
Terminals *terminal.Manager
Triggers *triggers.Manager
Server *api.Server
Log *slog.Logger
}
App owns every long-lived component.
func (*App) SeedDemoData ¶
SeedDemoData gives mock mode a ready board, so the UI and the e2e suite always have something to show.
func (*App) StartRelay ¶ added in v2.4.0
func (a *App) StartRelay()
StartRelay connects to the end-to-end encrypted relay when one is configured. It returns at once; the connection retries in the background until Close.