|
|
@ -203,7 +203,7 @@ func (m *GetStringResponse) GetValue() string { |
|
|
|
|
|
|
|
// 设置key响应结构
|
|
|
|
type SetResponse struct { |
|
|
|
Ret *uint64 `protobuf:"varint,1,opt,name=ret" json:"ret,omitempty"` |
|
|
|
Ret *string `protobuf:"bytes,1,opt,name=ret" json:"ret,omitempty"` |
|
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
|
} |
|
|
|
|
|
|
@ -211,16 +211,16 @@ func (m *SetResponse) Reset() { *m = SetResponse{} } |
|
|
|
func (m *SetResponse) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*SetResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
func (m *SetResponse) GetRet() uint64 { |
|
|
|
func (m *SetResponse) GetRet() string { |
|
|
|
if m != nil && m.Ret != nil { |
|
|
|
return *m.Ret |
|
|
|
} |
|
|
|
return 0 |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
// 删除key响应结构
|
|
|
|
type DelResponse struct { |
|
|
|
Ret *uint64 `protobuf:"varint,1,opt,name=ret" json:"ret,omitempty"` |
|
|
|
Ret *string `protobuf:"bytes,1,opt,name=ret" json:"ret,omitempty"` |
|
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
|
} |
|
|
|
|
|
|
@ -228,11 +228,11 @@ func (m *DelResponse) Reset() { *m = DelResponse{} } |
|
|
|
func (m *DelResponse) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*DelResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
func (m *DelResponse) GetRet() uint64 { |
|
|
|
func (m *DelResponse) GetRet() string { |
|
|
|
if m != nil && m.Ret != nil { |
|
|
|
return *m.Ret |
|
|
|
} |
|
|
|
return 0 |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func init() { |
|
|
|