Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerLocator ¶
type HandlerLocator interface {
HandlersFor(message any) []MessageHandler
}
type MessageHandler ¶
type MessageHandler interface {
Handle(runtimeInstance runtimecontract.Runtime, message any) error
}
type Middleware ¶
type StackNext ¶
type StackNext func(runtimeInstance runtimecontract.Runtime, envelope Envelope) (Envelope, error)
type Transport ¶
type Transport interface {
Send(runtimeInstance runtimecontract.Runtime, envelope Envelope) error
Receive(runtimeInstance runtimecontract.Runtime) (<-chan Envelope, error)
Ack(runtimeInstance runtimecontract.Runtime, envelope Envelope) error
Nack(runtimeInstance runtimecontract.Runtime, envelope Envelope, requeue bool) error
Close(runtimeInstance runtimecontract.Runtime) error
}
Click to show internal directories.
Click to hide internal directories.