Documentation
¶
Index ¶
- Variables
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetData() []byte
- func (x *Item) GetNamespace() *Namespace
- func (i *Item) Marshal() ([]byte, error)
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) String() string
- func (i *Item) Unmarshal(b []byte) error
- type Namespace
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_cache_cache_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
Namespace *Namespace `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
// contains filtered or unexported fields
}
func (*Item) Descriptor
deprecated
func (*Item) GetNamespace ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type Namespace ¶
type Namespace struct {
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
Ver uint64 `protobuf:"varint,2,opt,name=Ver,proto3" json:"Ver,omitempty"`
// contains filtered or unexported fields
}
func (*Namespace) Descriptor
deprecated
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.