1 // Code generated by protoc-gen-go.
2 // source: groupcache.proto
7 import proto "github.com/golang/protobuf/proto"
8 import json "encoding/json"
11 // Reference proto, json, and math imports to suppress error if they are not otherwise used.
13 var _ = &json.SyntaxError{}
16 type GetRequest struct {
17 Group *string `protobuf:"bytes,1,req,name=group" json:"group,omitempty"`
18 Key *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
19 XXX_unrecognized []byte `json:"-"`
22 func (m *GetRequest) Reset() { *m = GetRequest{} }
23 func (m *GetRequest) String() string { return proto.CompactTextString(m) }
24 func (*GetRequest) ProtoMessage() {}
26 func (m *GetRequest) GetGroup() string {
27 if m != nil && m.Group != nil {
33 func (m *GetRequest) GetKey() string {
34 if m != nil && m.Key != nil {
40 type GetResponse struct {
41 Value []byte `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
42 MinuteQps *float64 `protobuf:"fixed64,2,opt,name=minute_qps" json:"minute_qps,omitempty"`
43 XXX_unrecognized []byte `json:"-"`
46 func (m *GetResponse) Reset() { *m = GetResponse{} }
47 func (m *GetResponse) String() string { return proto.CompactTextString(m) }
48 func (*GetResponse) ProtoMessage() {}
50 func (m *GetResponse) GetValue() []byte {
57 func (m *GetResponse) GetMinuteQps() float64 {
58 if m != nil && m.MinuteQps != nil {