Documentation
¶
Index ¶
- Variables
- type Element
- func (*Element) Descriptor() ([]byte, []int)deprecated
- func (x *Element) GetElementType() ElementType
- func (x *Element) GetLsn() uint64
- func (x *Element) GetPayload() []byte
- func (x *Element) GetTimestamp() int64
- func (*Element) ProtoMessage()
- func (x *Element) ProtoReflect() protoreflect.Message
- func (x *Element) Reset()
- func (x *Element) String() string
- type ElementType
- func (ElementType) Descriptor() protoreflect.EnumDescriptor
- func (x ElementType) Enum() *ElementType
- func (ElementType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ElementType) Number() protoreflect.EnumNumber
- func (x ElementType) String() string
- func (ElementType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ElementType_name = map[int32]string{ 0: "ELEMENT_TYPE_NOOP", 1: "ELEMENT_TYPE_COMMAND", } ElementType_value = map[string]int32{ "ELEMENT_TYPE_NOOP": 0, "ELEMENT_TYPE_COMMAND": 1, } )
Enum value maps for ElementType.
View Source
var File_protos_wal_wal_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct {
Lsn uint64 `protobuf:"varint,1,opt,name=lsn,proto3" json:"lsn,omitempty"`
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ElementType ElementType `protobuf:"varint,3,opt,name=element_type,json=elementType,proto3,enum=wal.ElementType" json:"element_type,omitempty"`
Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
func (*Element) Descriptor
deprecated
func (*Element) GetElementType ¶
func (x *Element) GetElementType() ElementType
func (*Element) GetPayload ¶
func (*Element) GetTimestamp ¶
func (*Element) ProtoMessage ¶
func (*Element) ProtoMessage()
func (*Element) ProtoReflect ¶
func (x *Element) ProtoReflect() protoreflect.Message
type ElementType ¶
type ElementType int32
const ( ElementType_ELEMENT_TYPE_NOOP ElementType = 0 ElementType_ELEMENT_TYPE_COMMAND ElementType = 1 )
func (ElementType) Descriptor ¶
func (ElementType) Descriptor() protoreflect.EnumDescriptor
func (ElementType) Enum ¶
func (x ElementType) Enum() *ElementType
func (ElementType) EnumDescriptor
deprecated
func (ElementType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ElementType.Descriptor instead.
func (ElementType) Number ¶
func (x ElementType) Number() protoreflect.EnumNumber
func (ElementType) String ¶
func (x ElementType) String() string
func (ElementType) Type ¶
func (ElementType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.