Versions in this module Expand all Collapse all v0 v0.11.0 May 8, 2026 Changes in this version + type StartFunc func() + func (f StartFunc) Start(ctx context.Context) error + type StartFuncCtx func(context.Context) + func (f StartFuncCtx) Start(ctx context.Context) error + type StartFuncCtxErr func(context.Context) error + func (f StartFuncCtxErr) Start(ctx context.Context) error + type StartFuncErr func() error + func (f StartFuncErr) Start(ctx context.Context) error + type Starter interface + Start func(ctx context.Context) error + func AsStarter(v any) (Starter, bool) v0.10.0 Apr 17, 2026 Changes in this version + type CloseFunc func() + func (f CloseFunc) Close(ctx context.Context) error + type CloseFuncCtx func(context.Context) + func (f CloseFuncCtx) Close(ctx context.Context) error + type CloseFuncCtxErr func(context.Context) error + func (f CloseFuncCtxErr) Close(ctx context.Context) error + type CloseFuncErr func() error + func (f CloseFuncErr) Close(ctx context.Context) error + type Closer interface + Close func(ctx context.Context) error + func AsCloser(v any) (Closer, bool) + type Namer interface + Name func() string + type PingFunc func() + func (f PingFunc) Ping(ctx context.Context) error + type PingFuncCtx func(context.Context) + func (f PingFuncCtx) Ping(ctx context.Context) error + type PingFuncCtxErr func(context.Context) error + func (f PingFuncCtxErr) Ping(ctx context.Context) error + type PingFuncErr func() error + func (f PingFuncErr) Ping(ctx context.Context) error + type Pinger interface + Ping func(ctx context.Context) error + func AsPinger(v any) (Pinger, bool) + type ShutdownFunc func() + func (f ShutdownFunc) Shutdown(ctx context.Context) error + type ShutdownFuncCtx func(context.Context) + func (f ShutdownFuncCtx) Shutdown(ctx context.Context) error + type ShutdownFuncCtxErr func(context.Context) error + func (f ShutdownFuncCtxErr) Shutdown(ctx context.Context) error + type ShutdownFuncErr func() error + func (f ShutdownFuncErr) Shutdown(ctx context.Context) error + type Shutdowner interface + Shutdown func(ctx context.Context) error + func AsShutdowner(v any) (Shutdowner, bool) + type StopFunc func() + func (f StopFunc) Stop(ctx context.Context) error + type StopFuncCtx func(context.Context) + func (f StopFuncCtx) Stop(ctx context.Context) error + type StopFuncCtxErr func(context.Context) error + func (f StopFuncCtxErr) Stop(ctx context.Context) error + type StopFuncErr func() error + func (f StopFuncErr) Stop(ctx context.Context) error + type Stopper interface + Stop func(ctx context.Context) error + func AsStopper(v any) (Stopper, bool) + type Stringer interface + String func() string + type UnsubscribeFunc func() + func (f UnsubscribeFunc) Unsubscribe(ctx context.Context) error + type UnsubscribeFuncCtx func(context.Context) + func (f UnsubscribeFuncCtx) Unsubscribe(ctx context.Context) error + type UnsubscribeFuncCtxErr func(context.Context) error + func (f UnsubscribeFuncCtxErr) Unsubscribe(ctx context.Context) error + type UnsubscribeFuncErr func() error + func (f UnsubscribeFuncErr) Unsubscribe(ctx context.Context) error + type Unsubscriber interface + Unsubscribe func(ctx context.Context) error + func AsUnsubscriber(v any) (Unsubscriber, bool)