Documentation
¶
Index ¶
- Constants
- Variables
- func Register[TAction icqrs.Action, TResult any](bus Bus, handler Handler[TAction, TResult])
- func Send[TAction icqrs.Action, TResult any](ctx context.Context, bus Bus, action TAction) (TResult, error)
- type Action
- type ActionKind
- type BaseCommand
- type BaseQuery
- type Behavior
- type BehaviorFunc
- type Bus
- type Handler
- type HandlerFunc
- type Unit
Constants ¶
View Source
const ( Command = icqrs.Command Query = icqrs.Query )
Variables ¶
View Source
var ErrHandlerNotFound = icqrs.ErrHandlerNotFound
Functions ¶
Types ¶
type ActionKind ¶
type ActionKind = icqrs.ActionKind
type BaseCommand ¶
type BaseCommand = icqrs.BaseCommand
type BehaviorFunc ¶
type BehaviorFunc = icqrs.BehaviorFunc
type HandlerFunc ¶
type HandlerFunc[TAction icqrs.Action, TResult any] = icqrs.HandlerFunc[TAction, TResult]
Click to show internal directories.
Click to hide internal directories.