Documentation
¶
Index ¶
- Variables
- type Array
- func (*Array) Descriptor() ([]byte, []int)deprecated
- func (x *Array) GetItems() []*Item
- func (x *Array) GetOrdered() bool
- 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) UnmarshalVTUnsafe(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) UnmarshalVTUnsafe(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
- func (m *Map) UnmarshalVTUnsafe(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
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"`
Ordered bool `protobuf:"varint,2,opt,name=ordered,proto3" json:"ordered,omitempty"` // this will forcibly be written at the beginning if we are ordered, so the items can be unmarshalled sequentially
// contains filtered or unexported fields
}
func (*Array) Descriptor
deprecated
func (*Array) GetOrdered ¶ added in v1.15.8
func (*Array) MarshalToSizedBufferVT ¶
func (*Array) ProtoMessage ¶
func (*Array) ProtoMessage()
func (*Array) ProtoReflect ¶
func (x *Array) ProtoReflect() protoreflect.Message
func (*Array) UnmarshalVT ¶
func (*Array) UnmarshalVTUnsafe ¶ added in v1.15.8
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) UnmarshalVTUnsafe ¶ added in v1.15.8
type Map ¶
type Map struct {
Kv map[string]*Item `` /* 131-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 ¶
func (*Map) UnmarshalVTUnsafe ¶ added in v1.15.8
Click to show internal directories.
Click to hide internal directories.