Documentation ¶
Index ¶
Constants ¶
View Source
const ( ID = "x-fcyp-id" Timestamp = "x-fcyp-timestamp" Type = "x-fcyp-type" Source = "x-fcyp-source" RoutingKey = "#" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultDomainEvent ¶
type DefaultDomainEvent struct { EventID string `json:"-"` AggregateID string `json:"aggregateId"` When *time.Time `json:"-"` Type string `json:"-"` }
func (*DefaultDomainEvent) GetAggregateID ¶
func (d *DefaultDomainEvent) GetAggregateID() string
func (*DefaultDomainEvent) GetEventID ¶
func (d *DefaultDomainEvent) GetEventID() string
func (*DefaultDomainEvent) GetType ¶
func (d *DefaultDomainEvent) GetType() string
func (*DefaultDomainEvent) GetWhen ¶
func (d *DefaultDomainEvent) GetWhen() *time.Time
type DomainEvent ¶
type RabbitEventPublisher ¶
type RabbitEventPublisher struct {
// contains filtered or unexported fields
}
func (*RabbitEventPublisher) Publish ¶
func (r *RabbitEventPublisher) Publish(event interface{}) error
Click to show internal directories.
Click to hide internal directories.