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