Versions in this module Expand all Collapse all v2 v2.1.0 Apr 20, 2026 v2.0.0 Apr 20, 2026 Changes in this version + type App struct + func New(ctx context.Context) (*App, error) + func NewForTesting(logger *slog.Logger, tracer *trace.Tracer, ...) *App + func NewWithConfig(ctx context.Context, cfg *Config) (*App, error) + func (a *App) Logger() *slog.Logger + func (a *App) Metrics() *metrics.Metrics + func (a *App) ReadinessCheck() func(context.Context) error + func (a *App) Register(c Component) + func (a *App) RegisterNonCritical(c Component) + func (a *App) Run(ctx context.Context) error + func (a *App) Shutdown(ctx context.Context) error + func (a *App) Start(ctx context.Context) error + func (a *App) Tracer() *trace.Tracer + type Component interface + Shutdown func(ctx context.Context) error + Start func(ctx context.Context) error + type Config struct + Log *log.Config + Metrics *metrics.Config + RetryInitialBackoff time.Duration + RetryMaxBackoff time.Duration + RetryStartTimeout time.Duration + ShutdownTimeout time.Duration + Trace *trace.Config