Documentation ¶
Index ¶
- Variables
- type Array
- func (*Array) Descriptor() ([]byte, []int)deprecated
- func (x *Array) GetItems() []*Item
- func (m *Array) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Array) MarshalToVT(dAtA []byte) (int, error)
- func (m *Array) MarshalVT() (dAtA []byte, err error)
- func (*Array) ProtoMessage()
- func (x *Array) ProtoReflect() protoreflect.Message
- func (x *Array) Reset()
- func (m *Array) SizeVT() (n int)
- func (x *Array) String() string
- func (m *Array) UnmarshalVT(dAtA []byte) error
- func (m *Array) UnmarshalVTNoAlloc(dAtA []byte) error
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetBlockId() string
- func (x *Item) GetBlockNum() uint64
- func (x *Item) GetCursor() string
- func (x *Item) GetPayload() []byte
- func (x *Item) GetTimestamp() *timestamppb.Timestamp
- func (m *Item) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Item) MarshalToVT(dAtA []byte) (int, error)
- func (m *Item) MarshalVT() (dAtA []byte, err error)
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (m *Item) SizeVT() (n int)
- func (x *Item) String() string
- func (m *Item) UnmarshalVT(dAtA []byte) error
- func (m *Item) UnmarshalVTNoAlloc(dAtA []byte) error
- type Map
- func (*Map) Descriptor() ([]byte, []int)deprecated
- func (x *Map) GetKv() map[string]*Item
- func (m *Map) MarshalFast() (dAtA []byte, err error)
- func (m *Map) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Map) MarshalToVT(dAtA []byte) (int, error)
- func (m *Map) MarshalVT() (dAtA []byte, err error)
- func (*Map) ProtoMessage()
- func (x *Map) ProtoReflect() protoreflect.Message
- func (x *Map) Reset()
- func (m *Map) SizeVT() (n int)
- func (x *Map) String() string
- func (m *Map) UnmarshalFast(dAtA []byte) error
- func (m *Map) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_output_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct { Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*Array) Descriptor
deprecated
func (*Array) MarshalToSizedBufferVT ¶
func (*Array) ProtoMessage ¶
func (*Array) ProtoMessage()
func (*Array) ProtoReflect ¶
func (x *Array) ProtoReflect() protoreflect.Message
func (*Array) UnmarshalVT ¶
func (*Array) UnmarshalVTNoAlloc ¶
Copy of Array's UnmarshalVT method, with unsafeGetString
type Item ¶
type Item struct { BlockNum uint64 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` BlockId string `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*Item) Descriptor
deprecated
func (*Item) GetBlockId ¶
func (*Item) GetBlockNum ¶
func (*Item) GetPayload ¶
func (*Item) GetTimestamp ¶
func (x *Item) GetTimestamp() *timestamppb.Timestamp
func (*Item) MarshalToSizedBufferVT ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
func (*Item) UnmarshalVT ¶
func (*Item) UnmarshalVTNoAlloc ¶
type Map ¶
type Map struct { Kv map[string]*Item `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Map) Descriptor
deprecated
func (*Map) MarshalFast ¶
Faster marshalling through conversion to Array
func (*Map) ProtoMessage ¶
func (*Map) ProtoMessage()
func (*Map) ProtoReflect ¶
func (x *Map) ProtoReflect() protoreflect.Message
func (*Map) UnmarshalFast ¶
Faster unmarshalling when it was converted to array first
func (*Map) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.