Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { ServiceName string `json:"serviceName"` TopicName string `json:"topicName"` IdempotentID string `json:"idempotentId"` Object string `json:"object"` Message string `json:"message"` }
Event represents event object in for commerces services
type EventMirroringServiceInterface ¶
type EventMirroringServiceInterface interface { Consume(ctx *context.Context, topicName string) (*Event, *types.Error) IsExist(ctx *context.Context, event *Event) bool Publish(ctx *context.Context, params *PublishEventParams) *types.Error Acknowledge(ctx *context.Context, event *Event) *types.Error }
EventMirroringServiceInterface represents the mirroring services for storing event data
Click to show internal directories.
Click to hide internal directories.