Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InboxHandler ¶
func InboxHandler(store InboxStore) am.MessageHandlerMiddleware
func OutboxPublisher ¶
func OutboxPublisher(store OutboxStore) am.MessagePublisherMiddleware
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.IncomingMessage) error
}
type OutboxProcessor ¶
func NewOutboxProcessor ¶
func NewOutboxProcessor(publisher am.MessagePublisher, store OutboxStore) OutboxProcessor
Click to show internal directories.
Click to hide internal directories.