Documentation
¶
Overview ¶
Package types provides common interface contracts and function adapters used across the foomo ecosystem.
Index ¶
- type CloseFunc
- type CloseFuncCtx
- type CloseFuncCtxErr
- type CloseFuncErr
- type Closer
- type Namer
- type PingFunc
- type PingFuncCtx
- type PingFuncCtxErr
- type PingFuncErr
- type Pinger
- type ShutdownFunc
- type ShutdownFuncCtx
- type ShutdownFuncCtxErr
- type ShutdownFuncErr
- type Shutdowner
- type StartFunc
- type StartFuncCtx
- type StartFuncCtxErr
- type StartFuncErr
- type Starter
- type StopFunc
- type StopFuncCtx
- type StopFuncCtxErr
- type StopFuncErr
- type Stopper
- type Stringer
- type UnsubscribeFunc
- type UnsubscribeFuncCtx
- type UnsubscribeFuncCtxErr
- type UnsubscribeFuncErr
- type Unsubscriber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseFuncCtx ¶
type CloseFuncCtxErr ¶
type CloseFuncErr ¶
type CloseFuncErr func() error
type PingFuncCtx ¶
type PingFuncCtxErr ¶
type PingFuncErr ¶
type PingFuncErr func() error
type ShutdownFunc ¶
type ShutdownFunc func()
type ShutdownFuncCtx ¶
type ShutdownFuncCtxErr ¶
type ShutdownFuncErr ¶
type ShutdownFuncErr func() error
type Shutdowner ¶
func AsShutdowner ¶
func AsShutdowner(v any) (Shutdowner, bool)
type StartFuncCtx ¶ added in v0.11.0
type StartFuncCtxErr ¶ added in v0.11.0
type StartFuncErr ¶ added in v0.11.0
type StartFuncErr func() error
type StopFuncCtx ¶
type StopFuncCtxErr ¶
type StopFuncErr ¶
type StopFuncErr func() error
type UnsubscribeFunc ¶
type UnsubscribeFunc func()
func (UnsubscribeFunc) Unsubscribe ¶
func (f UnsubscribeFunc) Unsubscribe(ctx context.Context) error
type UnsubscribeFuncCtx ¶
func (UnsubscribeFuncCtx) Unsubscribe ¶
func (f UnsubscribeFuncCtx) Unsubscribe(ctx context.Context) error
type UnsubscribeFuncCtxErr ¶
func (UnsubscribeFuncCtxErr) Unsubscribe ¶
func (f UnsubscribeFuncCtxErr) Unsubscribe(ctx context.Context) error
type UnsubscribeFuncErr ¶
type UnsubscribeFuncErr func() error
func (UnsubscribeFuncErr) Unsubscribe ¶
func (f UnsubscribeFuncErr) Unsubscribe(ctx context.Context) error
type Unsubscriber ¶
func AsUnsubscriber ¶
func AsUnsubscriber(v any) (Unsubscriber, bool)
Click to show internal directories.
Click to hide internal directories.