Documentation ¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAggregateId() string
- func (x *Event) GetData() []byte
- func (x *Event) GetEventType() string
- func (x *Event) GetGroupId() string
- func (x *Event) GetIsSnapshot() bool
- func (x *Event) GetTimestamp() int64
- func (x *Event) GetVersion() uint64
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_resource_aggregate_cqrs_eventbus_pb_eventbus_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` EventType string `protobuf:"bytes,2,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` AggregateId string `protobuf:"bytes,4,opt,name=aggregate_id,json=aggregateId,proto3" json:"aggregate_id,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` IsSnapshot bool `protobuf:"varint,6,opt,name=is_snapshot,json=isSnapshot,proto3" json:"is_snapshot,omitempty"` Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetAggregateId ¶
func (*Event) GetEventType ¶
func (*Event) GetGroupId ¶
func (*Event) GetIsSnapshot ¶
func (*Event) GetTimestamp ¶
func (*Event) GetVersion ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.