Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInboxHandlerMiddleware ¶
func NewInboxHandlerMiddleware(store InboxStore) am.RawMessageHandlerMiddleware
func NewOutboxStreamMiddleware ¶
func NewOutboxStreamMiddleware(store OutboxStore) am.RawMessageStreamMiddleware
Types ¶
type ErrDuplicateMessage ¶
type ErrDuplicateMessage string
func (ErrDuplicateMessage) Error ¶
func (e ErrDuplicateMessage) Error() string
type InboxStore ¶
type InboxStore interface {
Save(ctx context.Context, msg am.RawMessage) error
}
type OutboxProcessor ¶
func NewOutboxProcessor ¶
func NewOutboxProcessor(publisher am.RawMessagePublisher, store OutboxStore) OutboxProcessor
Click to show internal directories.
Click to hide internal directories.