Documentation ¶
Overview ¶
Package protos is a generated protocol buffer package.
It is generated from these files:
event.proto
It has these top-level messages:
Event
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetAcknowledged() *time.Time
- func (m *Event) GetCEVersion() string
- func (m *Event) GetContentType() string
- func (m *Event) GetData() []byte
- func (m *Event) GetID() string
- func (m *Event) GetMetadata() map[string]string
- func (m *Event) GetSource() string
- func (m *Event) GetStream() int32
- func (m *Event) GetSubject() string
- func (m *Event) GetTime() *time.Time
- func (m *Event) GetType() string
- func (m *Event) GetTypeVersion() string
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (m *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
- func (*Event) XXX_MessageName() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"eventId" bson:"_id"` Stream int32 `protobuf:"varint,2,opt,name=Stream,proto3" json:"stream"` Time *time.Time `protobuf:"bytes,3,opt,name=Time,stdtime" json:"eventTime"` Type string `protobuf:"bytes,4,opt,name=Type,proto3" json:"eventType"` TypeVersion string `protobuf:"bytes,5,opt,name=TypeVersion,proto3" json:"eventTypeVersion"` CEVersion string `protobuf:"bytes,6,opt,name=CEVersion,proto3" json:"cloudEventVersion"` Source string `protobuf:"bytes,7,opt,name=Source,proto3" json:"eventSource"` Subject string `protobuf:"bytes,8,opt,name=Subject,proto3" json:"eventSubject"` Acknowledged *time.Time `protobuf:"bytes,9,opt,name=Acknowledged,stdtime" json:"eventAcknowledged"` Metadata map[string]string `` /* 143-byte string literal not displayed */ ContentType string `protobuf:"bytes,11,opt,name=ContentType,proto3" json:"contentType"` Data []byte `protobuf:"bytes,12,opt,name=Data,proto3" json:"data,string"` }
func (*Event) Descriptor ¶
func (*Event) GetAcknowledged ¶
func (*Event) GetCEVersion ¶
func (*Event) GetContentType ¶
func (*Event) GetMetadata ¶
func (*Event) GetSubject ¶
func (*Event) GetTypeVersion ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_MessageName ¶
Click to show internal directories.
Click to hide internal directories.