Documentation ¶
Index ¶
- Variables
- type DiskHeader
- func (*DiskHeader) Descriptor() ([]byte, []int)deprecated
- func (x *DiskHeader) GetBlockSize() int64
- func (x *DiskHeader) GetCapacity() int64
- func (x *DiskHeader) GetMetadata() *anypb.Any
- func (*DiskHeader) ProtoMessage()
- func (x *DiskHeader) ProtoReflect() protoreflect.Message
- func (x *DiskHeader) Reset()
- func (x *DiskHeader) String() string
- type Gap
- type KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValue) GetKey() string
- func (x *KeyValue) GetMetadata() *anypb.Any
- func (x *KeyValue) GetOffset() int64
- func (x *KeyValue) GetValueChecksum() uint64
- func (x *KeyValue) GetValueLength() int64
- func (x *KeyValue) GetVersion() int64
- func (*KeyValue) ProtoMessage()
- func (x *KeyValue) ProtoReflect() protoreflect.Message
- func (x *KeyValue) Reset()
- func (x *KeyValue) String() string
- type Wrapper
- func (*Wrapper) Descriptor() ([]byte, []int)deprecated
- func (x *Wrapper) GetGap() *Gap
- func (x *Wrapper) GetKeyValue() *KeyValue
- func (m *Wrapper) GetWrapped() isWrapper_Wrapped
- func (*Wrapper) ProtoMessage()
- func (x *Wrapper) ProtoReflect() protoreflect.Message
- func (x *Wrapper) Reset()
- func (x *Wrapper) String() string
- type Wrapper_Gap
- type Wrapper_KeyValue
Constants ¶
This section is empty.
Variables ¶
View Source
var File_linkdb_v1_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DiskHeader ¶
type DiskHeader struct { // Written when the disk is initially formatted to make sure // these parameters do not change when disk is re-opened. BlockSize int64 `protobuf:"varint,1,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"` Capacity int64 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"` Metadata *anypb.Any `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*DiskHeader) Descriptor
deprecated
func (*DiskHeader) Descriptor() ([]byte, []int)
Deprecated: Use DiskHeader.ProtoReflect.Descriptor instead.
func (*DiskHeader) GetBlockSize ¶
func (x *DiskHeader) GetBlockSize() int64
func (*DiskHeader) GetCapacity ¶
func (x *DiskHeader) GetCapacity() int64
func (*DiskHeader) GetMetadata ¶
func (x *DiskHeader) GetMetadata() *anypb.Any
func (*DiskHeader) ProtoMessage ¶
func (*DiskHeader) ProtoMessage()
func (*DiskHeader) ProtoReflect ¶
func (x *DiskHeader) ProtoReflect() protoreflect.Message
func (*DiskHeader) Reset ¶
func (x *DiskHeader) Reset()
func (*DiskHeader) String ¶
func (x *DiskHeader) String() string
type Gap ¶
type Gap struct { Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` GapLength int64 `protobuf:"varint,2,opt,name=gap_length,json=gapLength,proto3" json:"gap_length,omitempty"` // contains filtered or unexported fields }
func (*Gap) Descriptor
deprecated
func (*Gap) GetGapLength ¶
func (*Gap) ProtoMessage ¶
func (*Gap) ProtoMessage()
func (*Gap) ProtoReflect ¶
func (x *Gap) ProtoReflect() protoreflect.Message
type KeyValue ¶
type KeyValue struct { Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` ValueLength int64 `protobuf:"varint,4,opt,name=value_length,json=valueLength,proto3" json:"value_length,omitempty"` // 0 if no value ValueChecksum uint64 `protobuf:"varint,5,opt,name=value_checksum,json=valueChecksum,proto3" json:"value_checksum,omitempty"` // value checksum Metadata *anypb.Any `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*KeyValue) Descriptor
deprecated
func (*KeyValue) GetMetadata ¶
func (*KeyValue) GetValueChecksum ¶
func (*KeyValue) GetValueLength ¶
func (*KeyValue) GetVersion ¶
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶
func (x *KeyValue) ProtoReflect() protoreflect.Message
type Wrapper ¶
type Wrapper struct { // Types that are assignable to Wrapped: // // *Wrapper_KeyValue // *Wrapper_Gap Wrapped isWrapper_Wrapped `protobuf_oneof:"wrapped"` // contains filtered or unexported fields }
func (*Wrapper) Descriptor
deprecated
func (*Wrapper) GetKeyValue ¶
func (*Wrapper) GetWrapped ¶
func (m *Wrapper) GetWrapped() isWrapper_Wrapped
func (*Wrapper) ProtoMessage ¶
func (*Wrapper) ProtoMessage()
func (*Wrapper) ProtoReflect ¶
func (x *Wrapper) ProtoReflect() protoreflect.Message
type Wrapper_Gap ¶
type Wrapper_Gap struct {
Gap *Gap `protobuf:"bytes,2,opt,name=gap,proto3,oneof"`
}
type Wrapper_KeyValue ¶
type Wrapper_KeyValue struct {
KeyValue *KeyValue `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.