Documentation ¶
Index ¶
- Variables
- type Event
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetEventId() string
- func (x *Header) GetEventType() string
- func (x *Header) GetPubId() string
- func (x *Header) GetPubTime() int64
- func (x *Header) GetToken() string
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetPayload ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Header ¶
type Header struct { EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` // event type PubId string `protobuf:"bytes,2,opt,name=pub_id,json=pubId,proto3" json:"pub_id,omitempty"` // the unique identifier for publisher Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // for validation message PubTime int64 `protobuf:"varint,4,opt,name=pub_time,json=pubTime,proto3" json:"pub_time,omitempty"` // event pub timestamp EventId string `protobuf:"bytes,5,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // event id for tracing // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetEventId ¶
func (*Header) GetEventType ¶
func (*Header) GetPubTime ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.