Versions in this module Expand all Collapse all v1 v1.0.0 Jun 9, 2026 Changes in this version + func Go(ctx context.Context, log *slog.Logger, name string, cancel context.CancelFunc, ...) + func LivenessHandler() http.HandlerFunc + func ReadinessHandler(state *HealthState, checks ...func(ctx context.Context) error) http.HandlerFunc + func RecoverMiddleware(log *slog.Logger) func(http.Handler) http.Handler + func RunHealthCheck(addr string) + type HealthState struct + func (h *HealthState) IsReady() bool + func (h *HealthState) SetReady(v bool) + type Lane struct + func New(log *slog.Logger, opts ...Option) *Lane + func (l *Lane) AddRunner(runners ...Runner) + func (l *Lane) Health() *HealthState + func (l *Lane) Run(ctx context.Context) error + type Option func(*Lane) + func WithShutdownTimeout(d time.Duration) Option + type Runner interface + Name func() string + Start func(ctx context.Context) error + Stop func(ctx context.Context) error