pb

package
v0.0.0-...-da8027b Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

pkg/event/pb/event.proto

It has these top-level messages:

Event

Index

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 {
	StreamId   string                     `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	StreamType string                     `protobuf:"bytes,2,opt,name=stream_type,json=streamType,proto3" json:"stream_type,omitempty"`
	EventType  string                     `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	Payload    []byte                     `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	Version    int64                      `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	Context    map[string]string          `` /* 148-byte string literal not displayed */
	CreatedAt  *google_protobuf.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt" json:"created_at,omitempty"`
}

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetContext

func (m *Event) GetContext() map[string]string

func (*Event) GetCreatedAt

func (m *Event) GetCreatedAt() *google_protobuf.Timestamp

func (*Event) GetEventType

func (m *Event) GetEventType() string

func (*Event) GetPayload

func (m *Event) GetPayload() []byte

func (*Event) GetStreamId

func (m *Event) GetStreamId() string

func (*Event) GetStreamType

func (m *Event) GetStreamType() string

func (*Event) GetVersion

func (m *Event) GetVersion() int64

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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