|
@ -33,6 +33,7 @@ var _ = math.Inf |
|
|
type GetRequest struct { |
|
|
type GetRequest struct { |
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
|
Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` |
|
|
Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` |
|
|
|
|
|
Field *string `protobuf:"bytes,3,opt,name=field" json:"field,omitempty"` |
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -54,9 +55,17 @@ func (m *GetRequest) GetId() string { |
|
|
return "" |
|
|
return "" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (m *GetRequest) GetField() string { |
|
|
|
|
|
if m != nil && m.Field != nil { |
|
|
|
|
|
return *m.Field |
|
|
|
|
|
} |
|
|
|
|
|
return "" |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
type GetUuidRequest struct { |
|
|
type GetUuidRequest struct { |
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
|
Uuid *string `protobuf:"bytes,2,opt,name=uuid" json:"uuid,omitempty"` |
|
|
Uuid *string `protobuf:"bytes,2,opt,name=uuid" json:"uuid,omitempty"` |
|
|
|
|
|
Field *string `protobuf:"bytes,3,opt,name=field" json:"field,omitempty"` |
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -78,6 +87,13 @@ func (m *GetUuidRequest) GetUuid() string { |
|
|
return "" |
|
|
return "" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (m *GetUuidRequest) GetField() string { |
|
|
|
|
|
if m != nil && m.Field != nil { |
|
|
|
|
|
return *m.Field |
|
|
|
|
|
} |
|
|
|
|
|
return "" |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 使用key查询响应结构
|
|
|
// 使用key查询响应结构
|
|
|
type GetResponse struct { |
|
|
type GetResponse struct { |
|
|
Value []byte `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` |
|
|
Value []byte `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` |
|
|