Versions in this module Expand all Collapse all v0 v0.6.1 Apr 29, 2026 v0.6.0 Apr 29, 2026 Changes in this version + type Lifecycle struct + func (l *Lifecycle) AddShutdownHook(name string, run func() error) + func (l Lifecycle) Len() int + func (l Lifecycle) Run(onError func(name string, err error)) + type RunGroup struct + Services []ServiceRunner + StartShutdown func() error + func (g RunGroup) Run() error + type Runner struct + BuildPrepared func(*S) P + Stages []Stage[S] + State *S + func (r Runner[S, P]) Run() (P, string, error) + type ServiceRunner struct + Name string + Run func() error + type ShutdownHook struct + func (h ShutdownHook) Name() string + func (h ShutdownHook) Run() error + type Stage interface + Name func() string + Run func(*S) error