Documentation
¶
Index ¶
- Variables
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) Error() string
- func (x *Error) GetCode() int32
- func (x *Error) GetMsg() string
- func (x *Error) GetSubCode() int32
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetMeta() *ValueMeta
- func (x *Value) GetV() []byte
- func (x *Value) IsEmpty() bool
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- func (x *Value) Validate() error
- type ValueCC
- func (*ValueCC) Descriptor() ([]byte, []int)deprecated
- func (x *ValueCC) GetMaxReadVersion() uint64
- func (x *ValueCC) GetSnapshotVersion() uint64
- func (x *ValueCC) GetValue() *Value
- func (*ValueCC) ProtoMessage()
- func (x *ValueCC) ProtoReflect() protoreflect.Message
- func (x *ValueCC) Reset()
- func (x *ValueCC) String() string
- type ValueMeta
- func (*ValueMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ValueMeta) GetFlag() uint32
- func (x *ValueMeta) GetFlagSafe() uint8
- func (x *ValueMeta) GetInternalVersion() uint32
- func (x *ValueMeta) GetVersion() uint64
- func (x *ValueMeta) IsDirty() bool
- func (*ValueMeta) ProtoMessage()
- func (x *ValueMeta) ProtoReflect() protoreflect.Message
- func (x *ValueMeta) Reset()
- func (x *ValueMeta) SetFlag(flag uint8) *ValueMeta
- func (x *ValueMeta) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` SubCode int32 `protobuf:"varint,2,opt,name=sub_code,json=subCode,proto3" json:"sub_code,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetSubCode ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Value ¶
type Value struct { Meta *ValueMeta `protobuf:"bytes,1,opt,name=Meta,proto3" json:"Meta,omitempty"` V []byte `protobuf:"bytes,2,opt,name=v,proto3" json:"v,omitempty"` // contains filtered or unexported fields }
func (*Value) Descriptor
deprecated
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type ValueCC ¶
type ValueCC struct { Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` MaxReadVersion uint64 `protobuf:"varint,2,opt,name=max_read_version,json=maxReadVersion,proto3" json:"max_read_version,omitempty"` SnapshotVersion uint64 `protobuf:"varint,3,opt,name=snapshot_version,json=snapshotVersion,proto3" json:"snapshot_version,omitempty"` // contains filtered or unexported fields }
func (*ValueCC) Descriptor
deprecated
func (*ValueCC) GetMaxReadVersion ¶
func (*ValueCC) GetSnapshotVersion ¶
func (*ValueCC) ProtoMessage ¶
func (*ValueCC) ProtoMessage()
func (*ValueCC) ProtoReflect ¶
func (x *ValueCC) ProtoReflect() protoreflect.Message
type ValueMeta ¶
type ValueMeta struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` InternalVersion uint32 `protobuf:"varint,2,opt,name=internal_version,json=internalVersion,proto3" json:"internal_version,omitempty"` Flag uint32 `protobuf:"varint,3,opt,name=flag,proto3" json:"flag,omitempty"` // contains filtered or unexported fields }
func (*ValueMeta) Descriptor
deprecated
func (*ValueMeta) GetFlagSafe ¶
func (*ValueMeta) GetInternalVersion ¶
func (*ValueMeta) GetVersion ¶
func (*ValueMeta) ProtoMessage ¶
func (*ValueMeta) ProtoMessage()
func (*ValueMeta) ProtoReflect ¶
func (x *ValueMeta) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.