event

package
v0.0.0-...-2af345c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	ID            uuid.UUID `json:"id"`
	AggregateID   string    `json:"aggregate_id"`
	Service       string    `json:"service"`
	AggregateName string    `json:"aggregate_name"`
	Action        string    `json:"action"`
	Body          []byte    `json:"body"`
	Snapshot      []byte    `json:"snapshot"`
	PublishTime   time.Time `json:"publish_time"`
}

func NewDomain

func NewDomain(aggregateID, service, aggregateName, action string, body, snapshot []byte) Domain

func (Domain) GetName

func (d Domain) GetName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL