Versions in this module Expand all Collapse all v0 v0.12.0 Jul 29, 2026 Changes in this version + type App struct + func New(opts Options) *App + func (a *App) Context() context.Context + func (a *App) Go(name string, fn func(ctx context.Context) error) + func (a *App) OnShutdown(name string, fn func(ctx context.Context) error) + func (a *App) Run(parent context.Context) error + func (a *App) Shutdown() error + func (a *App) Supervise(name string, start func(ctx context.Context) (done <-chan struct{})) + type GoroutineError struct + Err error + Name string + func (e GoroutineError) Error() string + func (e GoroutineError) LogValue() slog.Value + func (e GoroutineError) Unwrap() error + type HookError struct + Err error + Name string + func (e HookError) Error() string + func (e HookError) LogValue() slog.Value + func (e HookError) Unwrap() error + type Options struct + Logger *slog.Logger + Observer stats.Observer + ShutdownTimeout time.Duration