Documentation
¶
Index ¶
- type HandlerFunc
- type HandlerFuncWithPayload
- type Message
- func (m *Message) Ack() bool
- func (m *Message) Context() context.Context
- func (m *Message) Copy() *Message
- func (m *Message) Destroy()
- func (m *Message) Equals(toCompare *Message) bool
- func (m *Message) Nack() bool
- func (m *Message) SetContext(ctx context.Context) *Message
- func (m *Message) State() State
- func (m *Message) StateChange() <-chan State
- func (m *Message) WithMetadata(key string, value interface{}) *Message
- type Metadata
- type Payload
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
func HandleWithPayload ¶
func HandleWithPayload[T any](handler HandlerFuncWithPayload[T]) HandlerFunc
type HandlerFuncWithPayload ¶
Click to show internal directories.
Click to hide internal directories.