Documentation
¶
Overview ¶
Package groupcachepb is a generated protocol buffer package.
It is generated from these files:
groupcache.proto
It has these top-level messages:
GetRequest GetResponse SetRequest
Index ¶
- type GetRequest
- type GetResponse
- type SetRequest
- func (*SetRequest) Descriptor() ([]byte, []int)
- func (m *SetRequest) GetExpire() int64
- func (m *SetRequest) GetGroup() string
- func (m *SetRequest) GetKey() string
- func (m *SetRequest) GetValue() []byte
- func (*SetRequest) ProtoMessage()
- func (m *SetRequest) Reset()
- func (m *SetRequest) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRequest ¶
type GetRequest struct {
Group *string `protobuf:"bytes,1,req,name=group" json:"group,omitempty"`
Key *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetGroup ¶
func (m *GetRequest) GetGroup() string
func (*GetRequest) GetKey ¶
func (m *GetRequest) GetKey() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
type GetResponse ¶
type GetResponse struct {
Value []byte `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
MinuteQps *float64 `protobuf:"fixed64,2,opt,name=minute_qps,json=minuteQps" json:"minute_qps,omitempty"`
Expire *int64 `protobuf:"varint,3,opt,name=expire" json:"expire,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetExpire ¶
func (m *GetResponse) GetExpire() int64
func (*GetResponse) GetMinuteQps ¶
func (m *GetResponse) GetMinuteQps() float64
func (*GetResponse) GetValue ¶
func (m *GetResponse) GetValue() []byte
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) String ¶
func (m *GetResponse) String() string
type SetRequest ¶ added in v2.3.0
type SetRequest struct {
Group *string `protobuf:"bytes,1,req,name=group" json:"group,omitempty"`
Key *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
Value []byte `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
Expire *int64 `protobuf:"varint,4,opt,name=expire" json:"expire,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*SetRequest) Descriptor ¶ added in v2.3.0
func (*SetRequest) Descriptor() ([]byte, []int)
func (*SetRequest) GetExpire ¶ added in v2.3.0
func (m *SetRequest) GetExpire() int64
func (*SetRequest) GetGroup ¶ added in v2.3.0
func (m *SetRequest) GetGroup() string
func (*SetRequest) GetKey ¶ added in v2.3.0
func (m *SetRequest) GetKey() string
func (*SetRequest) GetValue ¶ added in v2.3.0
func (m *SetRequest) GetValue() []byte
func (*SetRequest) ProtoMessage ¶ added in v2.3.0
func (*SetRequest) ProtoMessage()
func (*SetRequest) Reset ¶ added in v2.3.0
func (m *SetRequest) Reset()
func (*SetRequest) String ¶ added in v2.3.0
func (m *SetRequest) String() string
Click to show internal directories.
Click to hide internal directories.