Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForwardOutput ¶ added in v0.0.2
func (ForwardOutput) String ¶ added in v0.0.2
func (fs ForwardOutput) String() string
type Message ¶
type Message struct { // ID is assigned by Postgres database after calling a Write method of outbox.Writer. ID int64 // Broker is the name of the message broker, i.e. "kafka", "sns", etc. Broker string `validate:"required"` // Topic is the name or id (i.e. AWS ARN) of the message topic where the message will be published. Topic string `validate:"required"` // Metadata is optional map to implement outbox.Publisher interface more flexibly. Metadata map[string]string // Payload is the message body, ideally it should be published as is, but can be transformed in outbox.Publisher. Payload []byte `validate:"required,json"` }
type MessageFilter ¶
func (*MessageFilter) Validate ¶
func (m *MessageFilter) Validate() error
type ToMessageFunc ¶
Click to show internal directories.
Click to hide internal directories.