Documentation ¶
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type CrudValue
- func (*CrudValue) Descriptor() ([]byte, []int)deprecated
- func (x *CrudValue) GetCreator() string
- func (x *CrudValue) GetHeight() int64
- func (x *CrudValue) GetKey() string
- func (x *CrudValue) GetLease() *Lease
- func (x *CrudValue) GetMetadata() []byte
- func (x *CrudValue) GetUuid() string
- func (x *CrudValue) GetValue() []byte
- func (*CrudValue) ProtoMessage()
- func (x *CrudValue) ProtoReflect() protoreflect.Message
- func (x *CrudValue) Reset()
- func (x *CrudValue) String() string
- type GenesisState
- type KeyLease
- type KeyValue
- type KeyValueLease
- func (*KeyValueLease) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValueLease) GetKey() string
- func (x *KeyValueLease) GetLease() *Lease
- func (x *KeyValueLease) GetValue() []byte
- func (*KeyValueLease) ProtoMessage()
- func (x *KeyValueLease) ProtoReflect() protoreflect.Message
- func (x *KeyValueLease) Reset()
- func (x *KeyValueLease) String() string
- type Lease
- func (*Lease) Descriptor() ([]byte, []int)deprecated
- func (x *Lease) GetDays() uint32
- func (x *Lease) GetHours() uint32
- func (x *Lease) GetMinutes() uint32
- func (x *Lease) GetSeconds() uint32
- func (x *Lease) GetYears() uint32
- func (*Lease) ProtoMessage()
- func (x *Lease) ProtoReflect() protoreflect.Message
- func (x *Lease) Reset()
- func (x *Lease) String() string
- type MsgClient
- type MsgCount
- type MsgCountResponse
- type MsgCreate
- func (*MsgCreate) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreate) GetCreator() string
- func (x *MsgCreate) GetKey() string
- func (x *MsgCreate) GetLease() *Lease
- func (x *MsgCreate) GetMetadata() []byte
- func (x *MsgCreate) GetUuid() string
- func (x *MsgCreate) GetValue() []byte
- func (*MsgCreate) ProtoMessage()
- func (x *MsgCreate) ProtoReflect() protoreflect.Message
- func (x *MsgCreate) Reset()
- func (x *MsgCreate) String() string
- type MsgCreateResponse
- type MsgDelete
- func (*MsgDelete) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDelete) GetCreator() string
- func (x *MsgDelete) GetKey() string
- func (x *MsgDelete) GetUuid() string
- func (*MsgDelete) ProtoMessage()
- func (x *MsgDelete) ProtoReflect() protoreflect.Message
- func (x *MsgDelete) Reset()
- func (x *MsgDelete) String() string
- type MsgDeleteAll
- func (*MsgDeleteAll) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDeleteAll) GetCreator() string
- func (x *MsgDeleteAll) GetUuid() string
- func (*MsgDeleteAll) ProtoMessage()
- func (x *MsgDeleteAll) ProtoReflect() protoreflect.Message
- func (x *MsgDeleteAll) Reset()
- func (x *MsgDeleteAll) String() string
- type MsgDeleteAllResponse
- type MsgDeleteResponse
- type MsgGetLease
- func (*MsgGetLease) Descriptor() ([]byte, []int)deprecated
- func (x *MsgGetLease) GetCreator() string
- func (x *MsgGetLease) GetKey() string
- func (x *MsgGetLease) GetUuid() string
- func (*MsgGetLease) ProtoMessage()
- func (x *MsgGetLease) ProtoReflect() protoreflect.Message
- func (x *MsgGetLease) Reset()
- func (x *MsgGetLease) String() string
- type MsgGetLeaseResponse
- func (*MsgGetLeaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgGetLeaseResponse) GetKey() string
- func (x *MsgGetLeaseResponse) GetSeconds() uint32
- func (x *MsgGetLeaseResponse) GetUuid() string
- func (*MsgGetLeaseResponse) ProtoMessage()
- func (x *MsgGetLeaseResponse) ProtoReflect() protoreflect.Message
- func (x *MsgGetLeaseResponse) Reset()
- func (x *MsgGetLeaseResponse) String() string
- type MsgGetNShortestLeases
- func (*MsgGetNShortestLeases) Descriptor() ([]byte, []int)deprecated
- func (x *MsgGetNShortestLeases) GetCreator() string
- func (x *MsgGetNShortestLeases) GetNum() uint32
- func (x *MsgGetNShortestLeases) GetUuid() string
- func (*MsgGetNShortestLeases) ProtoMessage()
- func (x *MsgGetNShortestLeases) ProtoReflect() protoreflect.Message
- func (x *MsgGetNShortestLeases) Reset()
- func (x *MsgGetNShortestLeases) String() string
- type MsgGetNShortestLeasesResponse
- func (*MsgGetNShortestLeasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgGetNShortestLeasesResponse) GetKeyLeases() []*KeyLease
- func (x *MsgGetNShortestLeasesResponse) GetUuid() string
- func (*MsgGetNShortestLeasesResponse) ProtoMessage()
- func (x *MsgGetNShortestLeasesResponse) ProtoReflect() protoreflect.Message
- func (x *MsgGetNShortestLeasesResponse) Reset()
- func (x *MsgGetNShortestLeasesResponse) String() string
- type MsgHas
- type MsgHasResponse
- type MsgKeyValues
- func (*MsgKeyValues) Descriptor() ([]byte, []int)deprecated
- func (x *MsgKeyValues) GetCreator() string
- func (x *MsgKeyValues) GetPagination() *PagingRequest
- func (x *MsgKeyValues) GetUuid() string
- func (*MsgKeyValues) ProtoMessage()
- func (x *MsgKeyValues) ProtoReflect() protoreflect.Message
- func (x *MsgKeyValues) Reset()
- func (x *MsgKeyValues) String() string
- type MsgKeyValuesResponse
- func (*MsgKeyValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgKeyValuesResponse) GetKeyValues() []*KeyValue
- func (x *MsgKeyValuesResponse) GetPagination() *PagingResponse
- func (*MsgKeyValuesResponse) ProtoMessage()
- func (x *MsgKeyValuesResponse) ProtoReflect() protoreflect.Message
- func (x *MsgKeyValuesResponse) Reset()
- func (x *MsgKeyValuesResponse) String() string
- type MsgKeys
- func (*MsgKeys) Descriptor() ([]byte, []int)deprecated
- func (x *MsgKeys) GetCreator() string
- func (x *MsgKeys) GetPagination() *PagingRequest
- func (x *MsgKeys) GetUuid() string
- func (*MsgKeys) ProtoMessage()
- func (x *MsgKeys) ProtoReflect() protoreflect.Message
- func (x *MsgKeys) Reset()
- func (x *MsgKeys) String() string
- type MsgKeysResponse
- func (*MsgKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgKeysResponse) GetKeys() []string
- func (x *MsgKeysResponse) GetPagination() *PagingResponse
- func (*MsgKeysResponse) ProtoMessage()
- func (x *MsgKeysResponse) ProtoReflect() protoreflect.Message
- func (x *MsgKeysResponse) Reset()
- func (x *MsgKeysResponse) String() string
- type MsgMultiUpdate
- func (*MsgMultiUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMultiUpdate) GetCreator() string
- func (x *MsgMultiUpdate) GetKeyValues() []*KeyValueLease
- func (x *MsgMultiUpdate) GetUuid() string
- func (*MsgMultiUpdate) ProtoMessage()
- func (x *MsgMultiUpdate) ProtoReflect() protoreflect.Message
- func (x *MsgMultiUpdate) Reset()
- func (x *MsgMultiUpdate) String() string
- type MsgMultiUpdateResponse
- type MsgRead
- func (*MsgRead) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRead) GetCreator() string
- func (x *MsgRead) GetKey() string
- func (x *MsgRead) GetUuid() string
- func (*MsgRead) ProtoMessage()
- func (x *MsgRead) ProtoReflect() protoreflect.Message
- func (x *MsgRead) Reset()
- func (x *MsgRead) String() string
- type MsgReadResponse
- func (*MsgReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgReadResponse) GetKey() string
- func (x *MsgReadResponse) GetValue() []byte
- func (*MsgReadResponse) ProtoMessage()
- func (x *MsgReadResponse) ProtoReflect() protoreflect.Message
- func (x *MsgReadResponse) Reset()
- func (x *MsgReadResponse) String() string
- type MsgRename
- func (*MsgRename) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRename) GetCreator() string
- func (x *MsgRename) GetKey() string
- func (x *MsgRename) GetNewKey() string
- func (x *MsgRename) GetUuid() string
- func (*MsgRename) ProtoMessage()
- func (x *MsgRename) ProtoReflect() protoreflect.Message
- func (x *MsgRename) Reset()
- func (x *MsgRename) String() string
- type MsgRenameResponse
- type MsgRenewLease
- func (*MsgRenewLease) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRenewLease) GetCreator() string
- func (x *MsgRenewLease) GetKey() string
- func (x *MsgRenewLease) GetLease() *Lease
- func (x *MsgRenewLease) GetUuid() string
- func (*MsgRenewLease) ProtoMessage()
- func (x *MsgRenewLease) ProtoReflect() protoreflect.Message
- func (x *MsgRenewLease) Reset()
- func (x *MsgRenewLease) String() string
- type MsgRenewLeaseResponse
- type MsgRenewLeasesAll
- func (*MsgRenewLeasesAll) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRenewLeasesAll) GetCreator() string
- func (x *MsgRenewLeasesAll) GetLease() *Lease
- func (x *MsgRenewLeasesAll) GetUuid() string
- func (*MsgRenewLeasesAll) ProtoMessage()
- func (x *MsgRenewLeasesAll) ProtoReflect() protoreflect.Message
- func (x *MsgRenewLeasesAll) Reset()
- func (x *MsgRenewLeasesAll) String() string
- type MsgRenewLeasesAllResponse
- type MsgServer
- type MsgUpdate
- func (*MsgUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdate) GetCreator() string
- func (x *MsgUpdate) GetKey() string
- func (x *MsgUpdate) GetLease() *Lease
- func (x *MsgUpdate) GetMetadata() []byte
- func (x *MsgUpdate) GetUuid() string
- func (x *MsgUpdate) GetValue() []byte
- func (*MsgUpdate) ProtoMessage()
- func (x *MsgUpdate) ProtoReflect() protoreflect.Message
- func (x *MsgUpdate) Reset()
- func (x *MsgUpdate) String() string
- type MsgUpdateResponse
- type MsgUpsert
- func (*MsgUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpsert) GetCreator() string
- func (x *MsgUpsert) GetKey() string
- func (x *MsgUpsert) GetLease() *Lease
- func (x *MsgUpsert) GetMetadata() []byte
- func (x *MsgUpsert) GetUuid() string
- func (x *MsgUpsert) GetValue() []byte
- func (*MsgUpsert) ProtoMessage()
- func (x *MsgUpsert) ProtoReflect() protoreflect.Message
- func (x *MsgUpsert) Reset()
- func (x *MsgUpsert) String() string
- type MsgUpsertResponse
- type PagingRequest
- func (*PagingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PagingRequest) GetLimit() uint64
- func (x *PagingRequest) GetStartKey() string
- func (*PagingRequest) ProtoMessage()
- func (x *PagingRequest) ProtoReflect() protoreflect.Message
- func (x *PagingRequest) Reset()
- func (x *PagingRequest) String() string
- type PagingResponse
- func (*PagingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PagingResponse) GetNextKey() string
- func (x *PagingResponse) GetTotal() uint64
- func (*PagingResponse) ProtoMessage()
- func (x *PagingResponse) ProtoReflect() protoreflect.Message
- func (x *PagingResponse) Reset()
- func (x *PagingResponse) String() string
- type QueryClient
- type QueryCountRequest
- type QueryCountResponse
- func (*QueryCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCountResponse) GetCount() uint32
- func (x *QueryCountResponse) GetUuid() string
- func (*QueryCountResponse) ProtoMessage()
- func (x *QueryCountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCountResponse) Reset()
- func (x *QueryCountResponse) String() string
- type QueryFileRequest
- func (*QueryFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryFileRequest) GetKey() string
- func (x *QueryFileRequest) GetUuid() string
- func (*QueryFileRequest) ProtoMessage()
- func (x *QueryFileRequest) ProtoReflect() protoreflect.Message
- func (x *QueryFileRequest) Reset()
- func (x *QueryFileRequest) String() string
- type QueryFileResponse
- func (*QueryFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryFileResponse) GetData() []byte
- func (x *QueryFileResponse) GetKey() string
- func (x *QueryFileResponse) GetUuid() string
- func (*QueryFileResponse) ProtoMessage()
- func (x *QueryFileResponse) ProtoReflect() protoreflect.Message
- func (x *QueryFileResponse) Reset()
- func (x *QueryFileResponse) String() string
- type QueryGetLeaseRequest
- func (*QueryGetLeaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetLeaseRequest) GetKey() string
- func (x *QueryGetLeaseRequest) GetUuid() string
- func (*QueryGetLeaseRequest) ProtoMessage()
- func (x *QueryGetLeaseRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetLeaseRequest) Reset()
- func (x *QueryGetLeaseRequest) String() string
- type QueryGetLeaseResponse
- func (*QueryGetLeaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetLeaseResponse) GetKey() string
- func (x *QueryGetLeaseResponse) GetSeconds() uint32
- func (x *QueryGetLeaseResponse) GetUuid() string
- func (*QueryGetLeaseResponse) ProtoMessage()
- func (x *QueryGetLeaseResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetLeaseResponse) Reset()
- func (x *QueryGetLeaseResponse) String() string
- type QueryGetNShortestLeasesRequest
- func (*QueryGetNShortestLeasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetNShortestLeasesRequest) GetNum() uint32
- func (x *QueryGetNShortestLeasesRequest) GetUuid() string
- func (*QueryGetNShortestLeasesRequest) ProtoMessage()
- func (x *QueryGetNShortestLeasesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetNShortestLeasesRequest) Reset()
- func (x *QueryGetNShortestLeasesRequest) String() string
- type QueryGetNShortestLeasesResponse
- func (*QueryGetNShortestLeasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetNShortestLeasesResponse) GetKeyLeases() []*KeyLease
- func (x *QueryGetNShortestLeasesResponse) GetUuid() string
- func (*QueryGetNShortestLeasesResponse) ProtoMessage()
- func (x *QueryGetNShortestLeasesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetNShortestLeasesResponse) Reset()
- func (x *QueryGetNShortestLeasesResponse) String() string
- type QueryHasRequest
- func (*QueryHasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryHasRequest) GetKey() string
- func (x *QueryHasRequest) GetUuid() string
- func (*QueryHasRequest) ProtoMessage()
- func (x *QueryHasRequest) ProtoReflect() protoreflect.Message
- func (x *QueryHasRequest) Reset()
- func (x *QueryHasRequest) String() string
- type QueryHasResponse
- type QueryKeyValuesRequest
- func (*QueryKeyValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryKeyValuesRequest) GetPagination() *PagingRequest
- func (x *QueryKeyValuesRequest) GetUuid() string
- func (*QueryKeyValuesRequest) ProtoMessage()
- func (x *QueryKeyValuesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryKeyValuesRequest) Reset()
- func (x *QueryKeyValuesRequest) String() string
- type QueryKeyValuesResponse
- func (*QueryKeyValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryKeyValuesResponse) GetKeyValues() []*KeyValue
- func (x *QueryKeyValuesResponse) GetPagination() *PagingResponse
- func (*QueryKeyValuesResponse) ProtoMessage()
- func (x *QueryKeyValuesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryKeyValuesResponse) Reset()
- func (x *QueryKeyValuesResponse) String() string
- type QueryKeysRequest
- func (*QueryKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryKeysRequest) GetPagination() *PagingRequest
- func (x *QueryKeysRequest) GetUuid() string
- func (*QueryKeysRequest) ProtoMessage()
- func (x *QueryKeysRequest) ProtoReflect() protoreflect.Message
- func (x *QueryKeysRequest) Reset()
- func (x *QueryKeysRequest) String() string
- type QueryKeysResponse
- func (*QueryKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryKeysResponse) GetKeys() []string
- func (x *QueryKeysResponse) GetPagination() *PagingResponse
- func (*QueryKeysResponse) ProtoMessage()
- func (x *QueryKeysResponse) ProtoReflect() protoreflect.Message
- func (x *QueryKeysResponse) Reset()
- func (x *QueryKeysResponse) String() string
- type QueryMyKeysRequest
- func (*QueryMyKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMyKeysRequest) GetAddress() string
- func (x *QueryMyKeysRequest) GetPagination() *PagingRequest
- func (x *QueryMyKeysRequest) GetUuid() string
- func (*QueryMyKeysRequest) ProtoMessage()
- func (x *QueryMyKeysRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMyKeysRequest) Reset()
- func (x *QueryMyKeysRequest) String() string
- type QueryMyKeysResponse
- func (*QueryMyKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMyKeysResponse) GetKeys() []string
- func (x *QueryMyKeysResponse) GetPagination() *PagingResponse
- func (*QueryMyKeysResponse) ProtoMessage()
- func (x *QueryMyKeysResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMyKeysResponse) Reset()
- func (x *QueryMyKeysResponse) String() string
- type QueryReadRequest
- func (*QueryReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryReadRequest) GetKey() string
- func (x *QueryReadRequest) GetUuid() string
- func (*QueryReadRequest) ProtoMessage()
- func (x *QueryReadRequest) ProtoReflect() protoreflect.Message
- func (x *QueryReadRequest) Reset()
- func (x *QueryReadRequest) String() string
- type QueryReadResponse
- type QuerySearchRequest
- func (*QuerySearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySearchRequest) GetPagination() *PagingRequest
- func (x *QuerySearchRequest) GetSearchString() string
- func (x *QuerySearchRequest) GetUuid() string
- func (*QuerySearchRequest) ProtoMessage()
- func (x *QuerySearchRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySearchRequest) Reset()
- func (x *QuerySearchRequest) String() string
- type QuerySearchResponse
- func (*QuerySearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySearchResponse) GetKeyValues() []*KeyValue
- func (x *QuerySearchResponse) GetPagination() *PagingResponse
- func (*QuerySearchResponse) ProtoMessage()
- func (x *QuerySearchResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySearchResponse) Reset()
- func (x *QuerySearchResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) Count(context.Context, *MsgCount) (*MsgCountResponse, error)
- func (UnimplementedMsgServer) Create(context.Context, *MsgCreate) (*MsgCreateResponse, error)
- func (UnimplementedMsgServer) Delete(context.Context, *MsgDelete) (*MsgDeleteResponse, error)
- func (UnimplementedMsgServer) DeleteAll(context.Context, *MsgDeleteAll) (*MsgDeleteAllResponse, error)
- func (UnimplementedMsgServer) GetLease(context.Context, *MsgGetLease) (*MsgGetLeaseResponse, error)
- func (UnimplementedMsgServer) GetNShortestLeases(context.Context, *MsgGetNShortestLeases) (*MsgGetNShortestLeasesResponse, error)
- func (UnimplementedMsgServer) Has(context.Context, *MsgHas) (*MsgHasResponse, error)
- func (UnimplementedMsgServer) KeyValues(context.Context, *MsgKeyValues) (*MsgKeyValuesResponse, error)
- func (UnimplementedMsgServer) Keys(context.Context, *MsgKeys) (*MsgKeysResponse, error)
- func (UnimplementedMsgServer) MultiUpdate(context.Context, *MsgMultiUpdate) (*MsgMultiUpdateResponse, error)
- func (UnimplementedMsgServer) Read(context.Context, *MsgRead) (*MsgReadResponse, error)
- func (UnimplementedMsgServer) Rename(context.Context, *MsgRename) (*MsgRenameResponse, error)
- func (UnimplementedMsgServer) RenewLease(context.Context, *MsgRenewLease) (*MsgRenewLeaseResponse, error)
- func (UnimplementedMsgServer) RenewLeasesAll(context.Context, *MsgRenewLeasesAll) (*MsgRenewLeasesAllResponse, error)
- func (UnimplementedMsgServer) Update(context.Context, *MsgUpdate) (*MsgUpdateResponse, error)
- func (UnimplementedMsgServer) Upsert(context.Context, *MsgUpsert) (*MsgUpsertResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Count(context.Context, *QueryCountRequest) (*QueryCountResponse, error)
- func (UnimplementedQueryServer) File(context.Context, *QueryFileRequest) (*QueryFileResponse, error)
- func (UnimplementedQueryServer) GetLease(context.Context, *QueryGetLeaseRequest) (*QueryGetLeaseResponse, error)
- func (UnimplementedQueryServer) GetNShortestLeases(context.Context, *QueryGetNShortestLeasesRequest) (*QueryGetNShortestLeasesResponse, error)
- func (UnimplementedQueryServer) Has(context.Context, *QueryHasRequest) (*QueryHasResponse, error)
- func (UnimplementedQueryServer) KeyValues(context.Context, *QueryKeyValuesRequest) (*QueryKeyValuesResponse, error)
- func (UnimplementedQueryServer) Keys(context.Context, *QueryKeysRequest) (*QueryKeysResponse, error)
- func (UnimplementedQueryServer) MyKeys(context.Context, *QueryMyKeysRequest) (*QueryMyKeysResponse, error)
- func (UnimplementedQueryServer) Read(context.Context, *QueryReadRequest) (*QueryReadResponse, error)
- func (UnimplementedQueryServer) Search(context.Context, *QuerySearchRequest) (*QuerySearchResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var File_crud_CrudValue_proto protoreflect.FileDescriptor
var File_crud_KeyValue_proto protoreflect.FileDescriptor
var File_crud_Paging_proto protoreflect.FileDescriptor
var File_crud_genesis_proto protoreflect.FileDescriptor
var File_crud_lease_proto protoreflect.FileDescriptor
var File_crud_query_proto protoreflect.FileDescriptor
var File_crud_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bluzelle.curium.crud.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Count", Handler: _Msg_Count_Handler, }, { MethodName: "RenewLeasesAll", Handler: _Msg_RenewLeasesAll_Handler, }, { MethodName: "RenewLease", Handler: _Msg_RenewLease_Handler, }, { MethodName: "GetNShortestLeases", Handler: _Msg_GetNShortestLeases_Handler, }, { MethodName: "Keys", Handler: _Msg_Keys_Handler, }, { MethodName: "Rename", Handler: _Msg_Rename_Handler, }, { MethodName: "MultiUpdate", Handler: _Msg_MultiUpdate_Handler, }, { MethodName: "DeleteAll", Handler: _Msg_DeleteAll_Handler, }, { MethodName: "KeyValues", Handler: _Msg_KeyValues_Handler, }, { MethodName: "Has", Handler: _Msg_Has_Handler, }, { MethodName: "GetLease", Handler: _Msg_GetLease_Handler, }, { MethodName: "Read", Handler: _Msg_Read_Handler, }, { MethodName: "Upsert", Handler: _Msg_Upsert_Handler, }, { MethodName: "Create", Handler: _Msg_Create_Handler, }, { MethodName: "Update", Handler: _Msg_Update_Handler, }, { MethodName: "Delete", Handler: _Msg_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "crud/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bluzelle.curium.crud.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Read", Handler: _Query_Read_Handler, }, { MethodName: "Keys", Handler: _Query_Keys_Handler, }, { MethodName: "MyKeys", Handler: _Query_MyKeys_Handler, }, { MethodName: "Count", Handler: _Query_Count_Handler, }, { MethodName: "Has", Handler: _Query_Has_Handler, }, { MethodName: "Search", Handler: _Query_Search_Handler, }, { MethodName: "GetNShortestLeases", Handler: _Query_GetNShortestLeases_Handler, }, { MethodName: "GetLease", Handler: _Query_GetLease_Handler, }, { MethodName: "KeyValues", Handler: _Query_KeyValues_Handler, }, { MethodName: "File", Handler: _Query_File_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "crud/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type CrudValue ¶
type CrudValue struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Lease *Lease `protobuf:"bytes,5,opt,name=lease,proto3" json:"lease,omitempty"` Height int64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` Metadata []byte `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*CrudValue) Descriptor
deprecated
func (*CrudValue) GetCreator ¶
func (*CrudValue) GetMetadata ¶
func (*CrudValue) ProtoMessage ¶
func (*CrudValue) ProtoMessage()
func (*CrudValue) ProtoReflect ¶
func (x *CrudValue) ProtoReflect() protoreflect.Message
type GenesisState ¶
type GenesisState struct { // this line is used by starport scaffolding # genesis/proto/state CrudValueList []*CrudValue `protobuf:"bytes,1,rep,name=CrudValueList,proto3" json:"CrudValueList,omitempty"` // this line is used by starport scaffolding # genesis/proto/stateField // contains filtered or unexported fields }
GenesisState defines the crud module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetCrudValueList ¶
func (x *GenesisState) GetCrudValueList() []*CrudValue
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type KeyLease ¶
type KeyLease struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Seconds uint32 `protobuf:"varint,2,opt,name=seconds,proto3" json:"seconds,omitempty"` // contains filtered or unexported fields }
func (*KeyLease) Descriptor
deprecated
func (*KeyLease) GetSeconds ¶
func (*KeyLease) ProtoMessage ¶
func (*KeyLease) ProtoMessage()
func (*KeyLease) ProtoReflect ¶
func (x *KeyLease) ProtoReflect() protoreflect.Message
type KeyValue ¶
type KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyValue) Descriptor
deprecated
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶
func (x *KeyValue) ProtoReflect() protoreflect.Message
type KeyValueLease ¶
type KeyValueLease struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Lease *Lease `protobuf:"bytes,3,opt,name=lease,proto3" json:"lease,omitempty"` // contains filtered or unexported fields }
func (*KeyValueLease) Descriptor
deprecated
func (*KeyValueLease) Descriptor() ([]byte, []int)
Deprecated: Use KeyValueLease.ProtoReflect.Descriptor instead.
func (*KeyValueLease) GetKey ¶
func (x *KeyValueLease) GetKey() string
func (*KeyValueLease) GetLease ¶
func (x *KeyValueLease) GetLease() *Lease
func (*KeyValueLease) GetValue ¶
func (x *KeyValueLease) GetValue() []byte
func (*KeyValueLease) ProtoMessage ¶
func (*KeyValueLease) ProtoMessage()
func (*KeyValueLease) ProtoReflect ¶
func (x *KeyValueLease) ProtoReflect() protoreflect.Message
func (*KeyValueLease) Reset ¶
func (x *KeyValueLease) Reset()
func (*KeyValueLease) String ¶
func (x *KeyValueLease) String() string
type Lease ¶
type Lease struct { Seconds uint32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` Minutes uint32 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"` Hours uint32 `protobuf:"varint,3,opt,name=hours,proto3" json:"hours,omitempty"` Days uint32 `protobuf:"varint,4,opt,name=days,proto3" json:"days,omitempty"` Years uint32 `protobuf:"varint,5,opt,name=years,proto3" json:"years,omitempty"` // contains filtered or unexported fields }
func (*Lease) Descriptor
deprecated
func (*Lease) GetMinutes ¶
func (*Lease) GetSeconds ¶
func (*Lease) ProtoMessage ¶
func (*Lease) ProtoMessage()
func (*Lease) ProtoReflect ¶
func (x *Lease) ProtoReflect() protoreflect.Message
type MsgClient ¶
type MsgClient interface { // this line is used by starport scaffolding # proto/tx/rpc Count(ctx context.Context, in *MsgCount, opts ...grpc.CallOption) (*MsgCountResponse, error) RenewLeasesAll(ctx context.Context, in *MsgRenewLeasesAll, opts ...grpc.CallOption) (*MsgRenewLeasesAllResponse, error) RenewLease(ctx context.Context, in *MsgRenewLease, opts ...grpc.CallOption) (*MsgRenewLeaseResponse, error) GetNShortestLeases(ctx context.Context, in *MsgGetNShortestLeases, opts ...grpc.CallOption) (*MsgGetNShortestLeasesResponse, error) Keys(ctx context.Context, in *MsgKeys, opts ...grpc.CallOption) (*MsgKeysResponse, error) Rename(ctx context.Context, in *MsgRename, opts ...grpc.CallOption) (*MsgRenameResponse, error) MultiUpdate(ctx context.Context, in *MsgMultiUpdate, opts ...grpc.CallOption) (*MsgMultiUpdateResponse, error) DeleteAll(ctx context.Context, in *MsgDeleteAll, opts ...grpc.CallOption) (*MsgDeleteAllResponse, error) KeyValues(ctx context.Context, in *MsgKeyValues, opts ...grpc.CallOption) (*MsgKeyValuesResponse, error) Has(ctx context.Context, in *MsgHas, opts ...grpc.CallOption) (*MsgHasResponse, error) GetLease(ctx context.Context, in *MsgGetLease, opts ...grpc.CallOption) (*MsgGetLeaseResponse, error) Read(ctx context.Context, in *MsgRead, opts ...grpc.CallOption) (*MsgReadResponse, error) Upsert(ctx context.Context, in *MsgUpsert, opts ...grpc.CallOption) (*MsgUpsertResponse, error) Create(ctx context.Context, in *MsgCreate, opts ...grpc.CallOption) (*MsgCreateResponse, error) Update(ctx context.Context, in *MsgUpdate, opts ...grpc.CallOption) (*MsgUpdateResponse, error) Delete(ctx context.Context, in *MsgDelete, opts ...grpc.CallOption) (*MsgDeleteResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCount ¶
type MsgCount struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
this line is used by starport scaffolding # proto/tx/message
func (*MsgCount) Descriptor
deprecated
func (*MsgCount) GetCreator ¶
func (*MsgCount) ProtoMessage ¶
func (*MsgCount) ProtoMessage()
func (*MsgCount) ProtoReflect ¶
func (x *MsgCount) ProtoReflect() protoreflect.Message
type MsgCountResponse ¶
type MsgCountResponse struct { Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*MsgCountResponse) Descriptor
deprecated
func (*MsgCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCountResponse.ProtoReflect.Descriptor instead.
func (*MsgCountResponse) GetCount ¶
func (x *MsgCountResponse) GetCount() uint32
func (*MsgCountResponse) ProtoMessage ¶
func (*MsgCountResponse) ProtoMessage()
func (*MsgCountResponse) ProtoReflect ¶
func (x *MsgCountResponse) ProtoReflect() protoreflect.Message
func (*MsgCountResponse) Reset ¶
func (x *MsgCountResponse) Reset()
func (*MsgCountResponse) String ¶
func (x *MsgCountResponse) String() string
type MsgCreate ¶
type MsgCreate struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Lease *Lease `protobuf:"bytes,5,opt,name=lease,proto3" json:"lease,omitempty"` Metadata []byte `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*MsgCreate) Descriptor
deprecated
func (*MsgCreate) GetCreator ¶
func (*MsgCreate) GetMetadata ¶
func (*MsgCreate) ProtoMessage ¶
func (*MsgCreate) ProtoMessage()
func (*MsgCreate) ProtoReflect ¶
func (x *MsgCreate) ProtoReflect() protoreflect.Message
type MsgCreateResponse ¶
type MsgCreateResponse struct {
// contains filtered or unexported fields
}
func (*MsgCreateResponse) Descriptor
deprecated
func (*MsgCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateResponse) ProtoMessage ¶
func (*MsgCreateResponse) ProtoMessage()
func (*MsgCreateResponse) ProtoReflect ¶
func (x *MsgCreateResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateResponse) Reset ¶
func (x *MsgCreateResponse) Reset()
func (*MsgCreateResponse) String ¶
func (x *MsgCreateResponse) String() string
type MsgDelete ¶
type MsgDelete struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*MsgDelete) Descriptor
deprecated
func (*MsgDelete) GetCreator ¶
func (*MsgDelete) ProtoMessage ¶
func (*MsgDelete) ProtoMessage()
func (*MsgDelete) ProtoReflect ¶
func (x *MsgDelete) ProtoReflect() protoreflect.Message
type MsgDeleteAll ¶
type MsgDeleteAll struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*MsgDeleteAll) Descriptor
deprecated
func (*MsgDeleteAll) Descriptor() ([]byte, []int)
Deprecated: Use MsgDeleteAll.ProtoReflect.Descriptor instead.
func (*MsgDeleteAll) GetCreator ¶
func (x *MsgDeleteAll) GetCreator() string
func (*MsgDeleteAll) GetUuid ¶
func (x *MsgDeleteAll) GetUuid() string
func (*MsgDeleteAll) ProtoMessage ¶
func (*MsgDeleteAll) ProtoMessage()
func (*MsgDeleteAll) ProtoReflect ¶
func (x *MsgDeleteAll) ProtoReflect() protoreflect.Message
func (*MsgDeleteAll) Reset ¶
func (x *MsgDeleteAll) Reset()
func (*MsgDeleteAll) String ¶
func (x *MsgDeleteAll) String() string
type MsgDeleteAllResponse ¶
type MsgDeleteAllResponse struct {
// contains filtered or unexported fields
}
func (*MsgDeleteAllResponse) Descriptor
deprecated
func (*MsgDeleteAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDeleteAllResponse.ProtoReflect.Descriptor instead.
func (*MsgDeleteAllResponse) ProtoMessage ¶
func (*MsgDeleteAllResponse) ProtoMessage()
func (*MsgDeleteAllResponse) ProtoReflect ¶
func (x *MsgDeleteAllResponse) ProtoReflect() protoreflect.Message
func (*MsgDeleteAllResponse) Reset ¶
func (x *MsgDeleteAllResponse) Reset()
func (*MsgDeleteAllResponse) String ¶
func (x *MsgDeleteAllResponse) String() string
type MsgDeleteResponse ¶
type MsgDeleteResponse struct {
// contains filtered or unexported fields
}
func (*MsgDeleteResponse) Descriptor
deprecated
func (*MsgDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDeleteResponse.ProtoReflect.Descriptor instead.
func (*MsgDeleteResponse) ProtoMessage ¶
func (*MsgDeleteResponse) ProtoMessage()
func (*MsgDeleteResponse) ProtoReflect ¶
func (x *MsgDeleteResponse) ProtoReflect() protoreflect.Message
func (*MsgDeleteResponse) Reset ¶
func (x *MsgDeleteResponse) Reset()
func (*MsgDeleteResponse) String ¶
func (x *MsgDeleteResponse) String() string
type MsgGetLease ¶
type MsgGetLease struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*MsgGetLease) Descriptor
deprecated
func (*MsgGetLease) Descriptor() ([]byte, []int)
Deprecated: Use MsgGetLease.ProtoReflect.Descriptor instead.
func (*MsgGetLease) GetCreator ¶
func (x *MsgGetLease) GetCreator() string
func (*MsgGetLease) GetKey ¶
func (x *MsgGetLease) GetKey() string
func (*MsgGetLease) GetUuid ¶
func (x *MsgGetLease) GetUuid() string
func (*MsgGetLease) ProtoMessage ¶
func (*MsgGetLease) ProtoMessage()
func (*MsgGetLease) ProtoReflect ¶
func (x *MsgGetLease) ProtoReflect() protoreflect.Message
func (*MsgGetLease) Reset ¶
func (x *MsgGetLease) Reset()
func (*MsgGetLease) String ¶
func (x *MsgGetLease) String() string
type MsgGetLeaseResponse ¶
type MsgGetLeaseResponse struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Seconds uint32 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` // contains filtered or unexported fields }
func (*MsgGetLeaseResponse) Descriptor
deprecated
func (*MsgGetLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgGetLeaseResponse.ProtoReflect.Descriptor instead.
func (*MsgGetLeaseResponse) GetKey ¶
func (x *MsgGetLeaseResponse) GetKey() string
func (*MsgGetLeaseResponse) GetSeconds ¶
func (x *MsgGetLeaseResponse) GetSeconds() uint32
func (*MsgGetLeaseResponse) GetUuid ¶
func (x *MsgGetLeaseResponse) GetUuid() string
func (*MsgGetLeaseResponse) ProtoMessage ¶
func (*MsgGetLeaseResponse) ProtoMessage()
func (*MsgGetLeaseResponse) ProtoReflect ¶
func (x *MsgGetLeaseResponse) ProtoReflect() protoreflect.Message
func (*MsgGetLeaseResponse) Reset ¶
func (x *MsgGetLeaseResponse) Reset()
func (*MsgGetLeaseResponse) String ¶
func (x *MsgGetLeaseResponse) String() string
type MsgGetNShortestLeases ¶
type MsgGetNShortestLeases struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Num uint32 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*MsgGetNShortestLeases) Descriptor
deprecated
func (*MsgGetNShortestLeases) Descriptor() ([]byte, []int)
Deprecated: Use MsgGetNShortestLeases.ProtoReflect.Descriptor instead.
func (*MsgGetNShortestLeases) GetCreator ¶
func (x *MsgGetNShortestLeases) GetCreator() string
func (*MsgGetNShortestLeases) GetNum ¶
func (x *MsgGetNShortestLeases) GetNum() uint32
func (*MsgGetNShortestLeases) GetUuid ¶
func (x *MsgGetNShortestLeases) GetUuid() string
func (*MsgGetNShortestLeases) ProtoMessage ¶
func (*MsgGetNShortestLeases) ProtoMessage()
func (*MsgGetNShortestLeases) ProtoReflect ¶
func (x *MsgGetNShortestLeases) ProtoReflect() protoreflect.Message
func (*MsgGetNShortestLeases) Reset ¶
func (x *MsgGetNShortestLeases) Reset()
func (*MsgGetNShortestLeases) String ¶
func (x *MsgGetNShortestLeases) String() string
type MsgGetNShortestLeasesResponse ¶
type MsgGetNShortestLeasesResponse struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` KeyLeases []*KeyLease `protobuf:"bytes,2,rep,name=keyLeases,proto3" json:"keyLeases,omitempty"` // contains filtered or unexported fields }
func (*MsgGetNShortestLeasesResponse) Descriptor
deprecated
func (*MsgGetNShortestLeasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgGetNShortestLeasesResponse.ProtoReflect.Descriptor instead.
func (*MsgGetNShortestLeasesResponse) GetKeyLeases ¶
func (x *MsgGetNShortestLeasesResponse) GetKeyLeases() []*KeyLease
func (*MsgGetNShortestLeasesResponse) GetUuid ¶
func (x *MsgGetNShortestLeasesResponse) GetUuid() string
func (*MsgGetNShortestLeasesResponse) ProtoMessage ¶
func (*MsgGetNShortestLeasesResponse) ProtoMessage()
func (*MsgGetNShortestLeasesResponse) ProtoReflect ¶
func (x *MsgGetNShortestLeasesResponse) ProtoReflect() protoreflect.Message
func (*MsgGetNShortestLeasesResponse) Reset ¶
func (x *MsgGetNShortestLeasesResponse) Reset()
func (*MsgGetNShortestLeasesResponse) String ¶
func (x *MsgGetNShortestLeasesResponse) String() string
type MsgHas ¶
type MsgHas struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*MsgHas) Descriptor
deprecated
func (*MsgHas) GetCreator ¶
func (*MsgHas) ProtoMessage ¶
func (*MsgHas) ProtoMessage()
func (*MsgHas) ProtoReflect ¶
func (x *MsgHas) ProtoReflect() protoreflect.Message
type MsgHasResponse ¶
type MsgHasResponse struct { Has bool `protobuf:"varint,1,opt,name=has,proto3" json:"has,omitempty"` // contains filtered or unexported fields }
func (*MsgHasResponse) Descriptor
deprecated
func (*MsgHasResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgHasResponse.ProtoReflect.Descriptor instead.
func (*MsgHasResponse) GetHas ¶
func (x *MsgHasResponse) GetHas() bool
func (*MsgHasResponse) ProtoMessage ¶
func (*MsgHasResponse) ProtoMessage()
func (*MsgHasResponse) ProtoReflect ¶
func (x *MsgHasResponse) ProtoReflect() protoreflect.Message
func (*MsgHasResponse) Reset ¶
func (x *MsgHasResponse) Reset()
func (*MsgHasResponse) String ¶
func (x *MsgHasResponse) String() string
type MsgKeyValues ¶
type MsgKeyValues struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Pagination *PagingRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*MsgKeyValues) Descriptor
deprecated
func (*MsgKeyValues) Descriptor() ([]byte, []int)
Deprecated: Use MsgKeyValues.ProtoReflect.Descriptor instead.
func (*MsgKeyValues) GetCreator ¶
func (x *MsgKeyValues) GetCreator() string
func (*MsgKeyValues) GetPagination ¶
func (x *MsgKeyValues) GetPagination() *PagingRequest
func (*MsgKeyValues) GetUuid ¶
func (x *MsgKeyValues) GetUuid() string
func (*MsgKeyValues) ProtoMessage ¶
func (*MsgKeyValues) ProtoMessage()
func (*MsgKeyValues) ProtoReflect ¶
func (x *MsgKeyValues) ProtoReflect() protoreflect.Message
func (*MsgKeyValues) Reset ¶
func (x *MsgKeyValues) Reset()
func (*MsgKeyValues) String ¶
func (x *MsgKeyValues) String() string
type MsgKeyValuesResponse ¶
type MsgKeyValuesResponse struct { KeyValues []*KeyValue `protobuf:"bytes,1,rep,name=keyValues,proto3" json:"keyValues,omitempty"` Pagination *PagingResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*MsgKeyValuesResponse) Descriptor
deprecated
func (*MsgKeyValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgKeyValuesResponse.ProtoReflect.Descriptor instead.
func (*MsgKeyValuesResponse) GetKeyValues ¶
func (x *MsgKeyValuesResponse) GetKeyValues() []*KeyValue
func (*MsgKeyValuesResponse) GetPagination ¶
func (x *MsgKeyValuesResponse) GetPagination() *PagingResponse
func (*MsgKeyValuesResponse) ProtoMessage ¶
func (*MsgKeyValuesResponse) ProtoMessage()
func (*MsgKeyValuesResponse) ProtoReflect ¶
func (x *MsgKeyValuesResponse) ProtoReflect() protoreflect.Message
func (*MsgKeyValuesResponse) Reset ¶
func (x *MsgKeyValuesResponse) Reset()
func (*MsgKeyValuesResponse) String ¶
func (x *MsgKeyValuesResponse) String() string
type MsgKeys ¶
type MsgKeys struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Pagination *PagingRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*MsgKeys) Descriptor
deprecated
func (*MsgKeys) GetCreator ¶
func (*MsgKeys) GetPagination ¶
func (x *MsgKeys) GetPagination() *PagingRequest
func (*MsgKeys) ProtoMessage ¶
func (*MsgKeys) ProtoMessage()
func (*MsgKeys) ProtoReflect ¶
func (x *MsgKeys) ProtoReflect() protoreflect.Message
type MsgKeysResponse ¶
type MsgKeysResponse struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` Pagination *PagingResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*MsgKeysResponse) Descriptor
deprecated
func (*MsgKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgKeysResponse.ProtoReflect.Descriptor instead.
func (*MsgKeysResponse) GetKeys ¶
func (x *MsgKeysResponse) GetKeys() []string
func (*MsgKeysResponse) GetPagination ¶
func (x *MsgKeysResponse) GetPagination() *PagingResponse
func (*MsgKeysResponse) ProtoMessage ¶
func (*MsgKeysResponse) ProtoMessage()
func (*MsgKeysResponse) ProtoReflect ¶
func (x *MsgKeysResponse) ProtoReflect() protoreflect.Message
func (*MsgKeysResponse) Reset ¶
func (x *MsgKeysResponse) Reset()
func (*MsgKeysResponse) String ¶
func (x *MsgKeysResponse) String() string
type MsgMultiUpdate ¶
type MsgMultiUpdate struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` KeyValues []*KeyValueLease `protobuf:"bytes,3,rep,name=keyValues,proto3" json:"keyValues,omitempty"` // contains filtered or unexported fields }
func (*MsgMultiUpdate) Descriptor
deprecated
func (*MsgMultiUpdate) Descriptor() ([]byte, []int)
Deprecated: Use MsgMultiUpdate.ProtoReflect.Descriptor instead.
func (*MsgMultiUpdate) GetCreator ¶
func (x *MsgMultiUpdate) GetCreator() string
func (*MsgMultiUpdate) GetKeyValues ¶
func (x *MsgMultiUpdate) GetKeyValues() []*KeyValueLease
func (*MsgMultiUpdate) GetUuid ¶
func (x *MsgMultiUpdate) GetUuid() string
func (*MsgMultiUpdate) ProtoMessage ¶
func (*MsgMultiUpdate) ProtoMessage()
func (*MsgMultiUpdate) ProtoReflect ¶
func (x *MsgMultiUpdate) ProtoReflect() protoreflect.Message
func (*MsgMultiUpdate) Reset ¶
func (x *MsgMultiUpdate) Reset()
func (*MsgMultiUpdate) String ¶
func (x *MsgMultiUpdate) String() string
type MsgMultiUpdateResponse ¶
type MsgMultiUpdateResponse struct {
// contains filtered or unexported fields
}
func (*MsgMultiUpdateResponse) Descriptor
deprecated
func (*MsgMultiUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgMultiUpdateResponse.ProtoReflect.Descriptor instead.
func (*MsgMultiUpdateResponse) ProtoMessage ¶
func (*MsgMultiUpdateResponse) ProtoMessage()
func (*MsgMultiUpdateResponse) ProtoReflect ¶
func (x *MsgMultiUpdateResponse) ProtoReflect() protoreflect.Message
func (*MsgMultiUpdateResponse) Reset ¶
func (x *MsgMultiUpdateResponse) Reset()
func (*MsgMultiUpdateResponse) String ¶
func (x *MsgMultiUpdateResponse) String() string
type MsgRead ¶
type MsgRead struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*MsgRead) Descriptor
deprecated
func (*MsgRead) GetCreator ¶
func (*MsgRead) ProtoMessage ¶
func (*MsgRead) ProtoMessage()
func (*MsgRead) ProtoReflect ¶
func (x *MsgRead) ProtoReflect() protoreflect.Message
type MsgReadResponse ¶
type MsgReadResponse struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*MsgReadResponse) Descriptor
deprecated
func (*MsgReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgReadResponse.ProtoReflect.Descriptor instead.
func (*MsgReadResponse) GetKey ¶
func (x *MsgReadResponse) GetKey() string
func (*MsgReadResponse) GetValue ¶
func (x *MsgReadResponse) GetValue() []byte
func (*MsgReadResponse) ProtoMessage ¶
func (*MsgReadResponse) ProtoMessage()
func (*MsgReadResponse) ProtoReflect ¶
func (x *MsgReadResponse) ProtoReflect() protoreflect.Message
func (*MsgReadResponse) Reset ¶
func (x *MsgReadResponse) Reset()
func (*MsgReadResponse) String ¶
func (x *MsgReadResponse) String() string
type MsgRename ¶
type MsgRename struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` NewKey string `protobuf:"bytes,4,opt,name=newKey,proto3" json:"newKey,omitempty"` // contains filtered or unexported fields }
func (*MsgRename) Descriptor
deprecated
func (*MsgRename) GetCreator ¶
func (*MsgRename) ProtoMessage ¶
func (*MsgRename) ProtoMessage()
func (*MsgRename) ProtoReflect ¶
func (x *MsgRename) ProtoReflect() protoreflect.Message
type MsgRenameResponse ¶
type MsgRenameResponse struct {
// contains filtered or unexported fields
}
func (*MsgRenameResponse) Descriptor
deprecated
func (*MsgRenameResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRenameResponse.ProtoReflect.Descriptor instead.
func (*MsgRenameResponse) ProtoMessage ¶
func (*MsgRenameResponse) ProtoMessage()
func (*MsgRenameResponse) ProtoReflect ¶
func (x *MsgRenameResponse) ProtoReflect() protoreflect.Message
func (*MsgRenameResponse) Reset ¶
func (x *MsgRenameResponse) Reset()
func (*MsgRenameResponse) String ¶
func (x *MsgRenameResponse) String() string
type MsgRenewLease ¶
type MsgRenewLease struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Lease *Lease `protobuf:"bytes,4,opt,name=lease,proto3" json:"lease,omitempty"` // contains filtered or unexported fields }
func (*MsgRenewLease) Descriptor
deprecated
func (*MsgRenewLease) Descriptor() ([]byte, []int)
Deprecated: Use MsgRenewLease.ProtoReflect.Descriptor instead.
func (*MsgRenewLease) GetCreator ¶
func (x *MsgRenewLease) GetCreator() string
func (*MsgRenewLease) GetKey ¶
func (x *MsgRenewLease) GetKey() string
func (*MsgRenewLease) GetLease ¶
func (x *MsgRenewLease) GetLease() *Lease
func (*MsgRenewLease) GetUuid ¶
func (x *MsgRenewLease) GetUuid() string
func (*MsgRenewLease) ProtoMessage ¶
func (*MsgRenewLease) ProtoMessage()
func (*MsgRenewLease) ProtoReflect ¶
func (x *MsgRenewLease) ProtoReflect() protoreflect.Message
func (*MsgRenewLease) Reset ¶
func (x *MsgRenewLease) Reset()
func (*MsgRenewLease) String ¶
func (x *MsgRenewLease) String() string
type MsgRenewLeaseResponse ¶
type MsgRenewLeaseResponse struct {
// contains filtered or unexported fields
}
func (*MsgRenewLeaseResponse) Descriptor
deprecated
func (*MsgRenewLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRenewLeaseResponse.ProtoReflect.Descriptor instead.
func (*MsgRenewLeaseResponse) ProtoMessage ¶
func (*MsgRenewLeaseResponse) ProtoMessage()
func (*MsgRenewLeaseResponse) ProtoReflect ¶
func (x *MsgRenewLeaseResponse) ProtoReflect() protoreflect.Message
func (*MsgRenewLeaseResponse) Reset ¶
func (x *MsgRenewLeaseResponse) Reset()
func (*MsgRenewLeaseResponse) String ¶
func (x *MsgRenewLeaseResponse) String() string
type MsgRenewLeasesAll ¶
type MsgRenewLeasesAll struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Lease *Lease `protobuf:"bytes,3,opt,name=lease,proto3" json:"lease,omitempty"` // contains filtered or unexported fields }
func (*MsgRenewLeasesAll) Descriptor
deprecated
func (*MsgRenewLeasesAll) Descriptor() ([]byte, []int)
Deprecated: Use MsgRenewLeasesAll.ProtoReflect.Descriptor instead.
func (*MsgRenewLeasesAll) GetCreator ¶
func (x *MsgRenewLeasesAll) GetCreator() string
func (*MsgRenewLeasesAll) GetLease ¶
func (x *MsgRenewLeasesAll) GetLease() *Lease
func (*MsgRenewLeasesAll) GetUuid ¶
func (x *MsgRenewLeasesAll) GetUuid() string
func (*MsgRenewLeasesAll) ProtoMessage ¶
func (*MsgRenewLeasesAll) ProtoMessage()
func (*MsgRenewLeasesAll) ProtoReflect ¶
func (x *MsgRenewLeasesAll) ProtoReflect() protoreflect.Message
func (*MsgRenewLeasesAll) Reset ¶
func (x *MsgRenewLeasesAll) Reset()
func (*MsgRenewLeasesAll) String ¶
func (x *MsgRenewLeasesAll) String() string
type MsgRenewLeasesAllResponse ¶
type MsgRenewLeasesAllResponse struct {
// contains filtered or unexported fields
}
func (*MsgRenewLeasesAllResponse) Descriptor
deprecated
func (*MsgRenewLeasesAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRenewLeasesAllResponse.ProtoReflect.Descriptor instead.
func (*MsgRenewLeasesAllResponse) ProtoMessage ¶
func (*MsgRenewLeasesAllResponse) ProtoMessage()
func (*MsgRenewLeasesAllResponse) ProtoReflect ¶
func (x *MsgRenewLeasesAllResponse) ProtoReflect() protoreflect.Message
func (*MsgRenewLeasesAllResponse) Reset ¶
func (x *MsgRenewLeasesAllResponse) Reset()
func (*MsgRenewLeasesAllResponse) String ¶
func (x *MsgRenewLeasesAllResponse) String() string
type MsgServer ¶
type MsgServer interface { // this line is used by starport scaffolding # proto/tx/rpc Count(context.Context, *MsgCount) (*MsgCountResponse, error) RenewLeasesAll(context.Context, *MsgRenewLeasesAll) (*MsgRenewLeasesAllResponse, error) RenewLease(context.Context, *MsgRenewLease) (*MsgRenewLeaseResponse, error) GetNShortestLeases(context.Context, *MsgGetNShortestLeases) (*MsgGetNShortestLeasesResponse, error) Keys(context.Context, *MsgKeys) (*MsgKeysResponse, error) Rename(context.Context, *MsgRename) (*MsgRenameResponse, error) MultiUpdate(context.Context, *MsgMultiUpdate) (*MsgMultiUpdateResponse, error) DeleteAll(context.Context, *MsgDeleteAll) (*MsgDeleteAllResponse, error) KeyValues(context.Context, *MsgKeyValues) (*MsgKeyValuesResponse, error) Has(context.Context, *MsgHas) (*MsgHasResponse, error) GetLease(context.Context, *MsgGetLease) (*MsgGetLeaseResponse, error) Read(context.Context, *MsgRead) (*MsgReadResponse, error) Upsert(context.Context, *MsgUpsert) (*MsgUpsertResponse, error) Create(context.Context, *MsgCreate) (*MsgCreateResponse, error) Update(context.Context, *MsgUpdate) (*MsgUpdateResponse, error) Delete(context.Context, *MsgDelete) (*MsgDeleteResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdate ¶
type MsgUpdate struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Lease *Lease `protobuf:"bytes,5,opt,name=lease,proto3" json:"lease,omitempty"` Metadata []byte `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*MsgUpdate) Descriptor
deprecated
func (*MsgUpdate) GetCreator ¶
func (*MsgUpdate) GetMetadata ¶
func (*MsgUpdate) ProtoMessage ¶
func (*MsgUpdate) ProtoMessage()
func (*MsgUpdate) ProtoReflect ¶
func (x *MsgUpdate) ProtoReflect() protoreflect.Message
type MsgUpdateResponse ¶
type MsgUpdateResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpdateResponse) Descriptor
deprecated
func (*MsgUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateResponse) ProtoMessage ¶
func (*MsgUpdateResponse) ProtoMessage()
func (*MsgUpdateResponse) ProtoReflect ¶
func (x *MsgUpdateResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateResponse) Reset ¶
func (x *MsgUpdateResponse) Reset()
func (*MsgUpdateResponse) String ¶
func (x *MsgUpdateResponse) String() string
type MsgUpsert ¶
type MsgUpsert struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Lease *Lease `protobuf:"bytes,5,opt,name=lease,proto3" json:"lease,omitempty"` Metadata []byte `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*MsgUpsert) Descriptor
deprecated
func (*MsgUpsert) GetCreator ¶
func (*MsgUpsert) GetMetadata ¶
func (*MsgUpsert) ProtoMessage ¶
func (*MsgUpsert) ProtoMessage()
func (*MsgUpsert) ProtoReflect ¶
func (x *MsgUpsert) ProtoReflect() protoreflect.Message
type MsgUpsertResponse ¶
type MsgUpsertResponse struct {
// contains filtered or unexported fields
}
func (*MsgUpsertResponse) Descriptor
deprecated
func (*MsgUpsertResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpsertResponse.ProtoReflect.Descriptor instead.
func (*MsgUpsertResponse) ProtoMessage ¶
func (*MsgUpsertResponse) ProtoMessage()
func (*MsgUpsertResponse) ProtoReflect ¶
func (x *MsgUpsertResponse) ProtoReflect() protoreflect.Message
func (*MsgUpsertResponse) Reset ¶
func (x *MsgUpsertResponse) Reset()
func (*MsgUpsertResponse) String ¶
func (x *MsgUpsertResponse) String() string
type PagingRequest ¶
type PagingRequest struct { StartKey string `protobuf:"bytes,1,opt,name=startKey,proto3" json:"startKey,omitempty"` Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*PagingRequest) Descriptor
deprecated
func (*PagingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PagingRequest.ProtoReflect.Descriptor instead.
func (*PagingRequest) GetLimit ¶
func (x *PagingRequest) GetLimit() uint64
func (*PagingRequest) GetStartKey ¶
func (x *PagingRequest) GetStartKey() string
func (*PagingRequest) ProtoMessage ¶
func (*PagingRequest) ProtoMessage()
func (*PagingRequest) ProtoReflect ¶
func (x *PagingRequest) ProtoReflect() protoreflect.Message
func (*PagingRequest) Reset ¶
func (x *PagingRequest) Reset()
func (*PagingRequest) String ¶
func (x *PagingRequest) String() string
type PagingResponse ¶
type PagingResponse struct { NextKey string `protobuf:"bytes,1,opt,name=nextKey,proto3" json:"nextKey,omitempty"` Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*PagingResponse) Descriptor
deprecated
func (*PagingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PagingResponse.ProtoReflect.Descriptor instead.
func (*PagingResponse) GetNextKey ¶
func (x *PagingResponse) GetNextKey() string
func (*PagingResponse) GetTotal ¶
func (x *PagingResponse) GetTotal() uint64
func (*PagingResponse) ProtoMessage ¶
func (*PagingResponse) ProtoMessage()
func (*PagingResponse) ProtoReflect ¶
func (x *PagingResponse) ProtoReflect() protoreflect.Message
func (*PagingResponse) Reset ¶
func (x *PagingResponse) Reset()
func (*PagingResponse) String ¶
func (x *PagingResponse) String() string
type QueryClient ¶
type QueryClient interface { // this line is used by starport scaffolding # 2 Read(ctx context.Context, in *QueryReadRequest, opts ...grpc.CallOption) (*QueryReadResponse, error) Keys(ctx context.Context, in *QueryKeysRequest, opts ...grpc.CallOption) (*QueryKeysResponse, error) MyKeys(ctx context.Context, in *QueryMyKeysRequest, opts ...grpc.CallOption) (*QueryMyKeysResponse, error) Count(ctx context.Context, in *QueryCountRequest, opts ...grpc.CallOption) (*QueryCountResponse, error) Has(ctx context.Context, in *QueryHasRequest, opts ...grpc.CallOption) (*QueryHasResponse, error) Search(ctx context.Context, in *QuerySearchRequest, opts ...grpc.CallOption) (*QuerySearchResponse, error) GetNShortestLeases(ctx context.Context, in *QueryGetNShortestLeasesRequest, opts ...grpc.CallOption) (*QueryGetNShortestLeasesResponse, error) GetLease(ctx context.Context, in *QueryGetLeaseRequest, opts ...grpc.CallOption) (*QueryGetLeaseResponse, error) KeyValues(ctx context.Context, in *QueryKeyValuesRequest, opts ...grpc.CallOption) (*QueryKeyValuesResponse, error) File(ctx context.Context, in *QueryFileRequest, opts ...grpc.CallOption) (*QueryFileResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryCountRequest ¶
type QueryCountRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*QueryCountRequest) Descriptor
deprecated
func (*QueryCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryCountRequest.ProtoReflect.Descriptor instead.
func (*QueryCountRequest) GetUuid ¶
func (x *QueryCountRequest) GetUuid() string
func (*QueryCountRequest) ProtoMessage ¶
func (*QueryCountRequest) ProtoMessage()
func (*QueryCountRequest) ProtoReflect ¶
func (x *QueryCountRequest) ProtoReflect() protoreflect.Message
func (*QueryCountRequest) Reset ¶
func (x *QueryCountRequest) Reset()
func (*QueryCountRequest) String ¶
func (x *QueryCountRequest) String() string
type QueryCountResponse ¶
type QueryCountResponse struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*QueryCountResponse) Descriptor
deprecated
func (*QueryCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryCountResponse.ProtoReflect.Descriptor instead.
func (*QueryCountResponse) GetCount ¶
func (x *QueryCountResponse) GetCount() uint32
func (*QueryCountResponse) GetUuid ¶
func (x *QueryCountResponse) GetUuid() string
func (*QueryCountResponse) ProtoMessage ¶
func (*QueryCountResponse) ProtoMessage()
func (*QueryCountResponse) ProtoReflect ¶
func (x *QueryCountResponse) ProtoReflect() protoreflect.Message
func (*QueryCountResponse) Reset ¶
func (x *QueryCountResponse) Reset()
func (*QueryCountResponse) String ¶
func (x *QueryCountResponse) String() string
type QueryFileRequest ¶
type QueryFileRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*QueryFileRequest) Descriptor
deprecated
func (*QueryFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryFileRequest.ProtoReflect.Descriptor instead.
func (*QueryFileRequest) GetKey ¶
func (x *QueryFileRequest) GetKey() string
func (*QueryFileRequest) GetUuid ¶
func (x *QueryFileRequest) GetUuid() string
func (*QueryFileRequest) ProtoMessage ¶
func (*QueryFileRequest) ProtoMessage()
func (*QueryFileRequest) ProtoReflect ¶
func (x *QueryFileRequest) ProtoReflect() protoreflect.Message
func (*QueryFileRequest) Reset ¶
func (x *QueryFileRequest) Reset()
func (*QueryFileRequest) String ¶
func (x *QueryFileRequest) String() string
type QueryFileResponse ¶
type QueryFileResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*QueryFileResponse) Descriptor
deprecated
func (*QueryFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryFileResponse.ProtoReflect.Descriptor instead.
func (*QueryFileResponse) GetData ¶
func (x *QueryFileResponse) GetData() []byte
func (*QueryFileResponse) GetKey ¶
func (x *QueryFileResponse) GetKey() string
func (*QueryFileResponse) GetUuid ¶
func (x *QueryFileResponse) GetUuid() string
func (*QueryFileResponse) ProtoMessage ¶
func (*QueryFileResponse) ProtoMessage()
func (*QueryFileResponse) ProtoReflect ¶
func (x *QueryFileResponse) ProtoReflect() protoreflect.Message
func (*QueryFileResponse) Reset ¶
func (x *QueryFileResponse) Reset()
func (*QueryFileResponse) String ¶
func (x *QueryFileResponse) String() string
type QueryGetLeaseRequest ¶
type QueryGetLeaseRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*QueryGetLeaseRequest) Descriptor
deprecated
func (*QueryGetLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetLeaseRequest.ProtoReflect.Descriptor instead.
func (*QueryGetLeaseRequest) GetKey ¶
func (x *QueryGetLeaseRequest) GetKey() string
func (*QueryGetLeaseRequest) GetUuid ¶
func (x *QueryGetLeaseRequest) GetUuid() string
func (*QueryGetLeaseRequest) ProtoMessage ¶
func (*QueryGetLeaseRequest) ProtoMessage()
func (*QueryGetLeaseRequest) ProtoReflect ¶
func (x *QueryGetLeaseRequest) ProtoReflect() protoreflect.Message
func (*QueryGetLeaseRequest) Reset ¶
func (x *QueryGetLeaseRequest) Reset()
func (*QueryGetLeaseRequest) String ¶
func (x *QueryGetLeaseRequest) String() string
type QueryGetLeaseResponse ¶
type QueryGetLeaseResponse struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Seconds uint32 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` // contains filtered or unexported fields }
func (*QueryGetLeaseResponse) Descriptor
deprecated
func (*QueryGetLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetLeaseResponse.ProtoReflect.Descriptor instead.
func (*QueryGetLeaseResponse) GetKey ¶
func (x *QueryGetLeaseResponse) GetKey() string
func (*QueryGetLeaseResponse) GetSeconds ¶
func (x *QueryGetLeaseResponse) GetSeconds() uint32
func (*QueryGetLeaseResponse) GetUuid ¶
func (x *QueryGetLeaseResponse) GetUuid() string
func (*QueryGetLeaseResponse) ProtoMessage ¶
func (*QueryGetLeaseResponse) ProtoMessage()
func (*QueryGetLeaseResponse) ProtoReflect ¶
func (x *QueryGetLeaseResponse) ProtoReflect() protoreflect.Message
func (*QueryGetLeaseResponse) Reset ¶
func (x *QueryGetLeaseResponse) Reset()
func (*QueryGetLeaseResponse) String ¶
func (x *QueryGetLeaseResponse) String() string
type QueryGetNShortestLeasesRequest ¶
type QueryGetNShortestLeasesRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Num uint32 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*QueryGetNShortestLeasesRequest) Descriptor
deprecated
func (*QueryGetNShortestLeasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetNShortestLeasesRequest.ProtoReflect.Descriptor instead.
func (*QueryGetNShortestLeasesRequest) GetNum ¶
func (x *QueryGetNShortestLeasesRequest) GetNum() uint32
func (*QueryGetNShortestLeasesRequest) GetUuid ¶
func (x *QueryGetNShortestLeasesRequest) GetUuid() string
func (*QueryGetNShortestLeasesRequest) ProtoMessage ¶
func (*QueryGetNShortestLeasesRequest) ProtoMessage()
func (*QueryGetNShortestLeasesRequest) ProtoReflect ¶
func (x *QueryGetNShortestLeasesRequest) ProtoReflect() protoreflect.Message
func (*QueryGetNShortestLeasesRequest) Reset ¶
func (x *QueryGetNShortestLeasesRequest) Reset()
func (*QueryGetNShortestLeasesRequest) String ¶
func (x *QueryGetNShortestLeasesRequest) String() string
type QueryGetNShortestLeasesResponse ¶
type QueryGetNShortestLeasesResponse struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` KeyLeases []*KeyLease `protobuf:"bytes,2,rep,name=keyLeases,proto3" json:"keyLeases,omitempty"` // contains filtered or unexported fields }
func (*QueryGetNShortestLeasesResponse) Descriptor
deprecated
func (*QueryGetNShortestLeasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetNShortestLeasesResponse.ProtoReflect.Descriptor instead.
func (*QueryGetNShortestLeasesResponse) GetKeyLeases ¶
func (x *QueryGetNShortestLeasesResponse) GetKeyLeases() []*KeyLease
func (*QueryGetNShortestLeasesResponse) GetUuid ¶
func (x *QueryGetNShortestLeasesResponse) GetUuid() string
func (*QueryGetNShortestLeasesResponse) ProtoMessage ¶
func (*QueryGetNShortestLeasesResponse) ProtoMessage()
func (*QueryGetNShortestLeasesResponse) ProtoReflect ¶
func (x *QueryGetNShortestLeasesResponse) ProtoReflect() protoreflect.Message
func (*QueryGetNShortestLeasesResponse) Reset ¶
func (x *QueryGetNShortestLeasesResponse) Reset()
func (*QueryGetNShortestLeasesResponse) String ¶
func (x *QueryGetNShortestLeasesResponse) String() string
type QueryHasRequest ¶
type QueryHasRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*QueryHasRequest) Descriptor
deprecated
func (*QueryHasRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryHasRequest.ProtoReflect.Descriptor instead.
func (*QueryHasRequest) GetKey ¶
func (x *QueryHasRequest) GetKey() string
func (*QueryHasRequest) GetUuid ¶
func (x *QueryHasRequest) GetUuid() string
func (*QueryHasRequest) ProtoMessage ¶
func (*QueryHasRequest) ProtoMessage()
func (*QueryHasRequest) ProtoReflect ¶
func (x *QueryHasRequest) ProtoReflect() protoreflect.Message
func (*QueryHasRequest) Reset ¶
func (x *QueryHasRequest) Reset()
func (*QueryHasRequest) String ¶
func (x *QueryHasRequest) String() string
type QueryHasResponse ¶
type QueryHasResponse struct { Has bool `protobuf:"varint,1,opt,name=has,proto3" json:"has,omitempty"` // contains filtered or unexported fields }
func (*QueryHasResponse) Descriptor
deprecated
func (*QueryHasResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryHasResponse.ProtoReflect.Descriptor instead.
func (*QueryHasResponse) GetHas ¶
func (x *QueryHasResponse) GetHas() bool
func (*QueryHasResponse) ProtoMessage ¶
func (*QueryHasResponse) ProtoMessage()
func (*QueryHasResponse) ProtoReflect ¶
func (x *QueryHasResponse) ProtoReflect() protoreflect.Message
func (*QueryHasResponse) Reset ¶
func (x *QueryHasResponse) Reset()
func (*QueryHasResponse) String ¶
func (x *QueryHasResponse) String() string
type QueryKeyValuesRequest ¶
type QueryKeyValuesRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Pagination *PagingRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryKeyValuesRequest) Descriptor
deprecated
func (*QueryKeyValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryKeyValuesRequest.ProtoReflect.Descriptor instead.
func (*QueryKeyValuesRequest) GetPagination ¶
func (x *QueryKeyValuesRequest) GetPagination() *PagingRequest
func (*QueryKeyValuesRequest) GetUuid ¶
func (x *QueryKeyValuesRequest) GetUuid() string
func (*QueryKeyValuesRequest) ProtoMessage ¶
func (*QueryKeyValuesRequest) ProtoMessage()
func (*QueryKeyValuesRequest) ProtoReflect ¶
func (x *QueryKeyValuesRequest) ProtoReflect() protoreflect.Message
func (*QueryKeyValuesRequest) Reset ¶
func (x *QueryKeyValuesRequest) Reset()
func (*QueryKeyValuesRequest) String ¶
func (x *QueryKeyValuesRequest) String() string
type QueryKeyValuesResponse ¶
type QueryKeyValuesResponse struct { KeyValues []*KeyValue `protobuf:"bytes,1,rep,name=keyValues,proto3" json:"keyValues,omitempty"` Pagination *PagingResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryKeyValuesResponse) Descriptor
deprecated
func (*QueryKeyValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryKeyValuesResponse.ProtoReflect.Descriptor instead.
func (*QueryKeyValuesResponse) GetKeyValues ¶
func (x *QueryKeyValuesResponse) GetKeyValues() []*KeyValue
func (*QueryKeyValuesResponse) GetPagination ¶
func (x *QueryKeyValuesResponse) GetPagination() *PagingResponse
func (*QueryKeyValuesResponse) ProtoMessage ¶
func (*QueryKeyValuesResponse) ProtoMessage()
func (*QueryKeyValuesResponse) ProtoReflect ¶
func (x *QueryKeyValuesResponse) ProtoReflect() protoreflect.Message
func (*QueryKeyValuesResponse) Reset ¶
func (x *QueryKeyValuesResponse) Reset()
func (*QueryKeyValuesResponse) String ¶
func (x *QueryKeyValuesResponse) String() string
type QueryKeysRequest ¶
type QueryKeysRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Pagination *PagingRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryKeysRequest) Descriptor
deprecated
func (*QueryKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryKeysRequest.ProtoReflect.Descriptor instead.
func (*QueryKeysRequest) GetPagination ¶
func (x *QueryKeysRequest) GetPagination() *PagingRequest
func (*QueryKeysRequest) GetUuid ¶
func (x *QueryKeysRequest) GetUuid() string
func (*QueryKeysRequest) ProtoMessage ¶
func (*QueryKeysRequest) ProtoMessage()
func (*QueryKeysRequest) ProtoReflect ¶
func (x *QueryKeysRequest) ProtoReflect() protoreflect.Message
func (*QueryKeysRequest) Reset ¶
func (x *QueryKeysRequest) Reset()
func (*QueryKeysRequest) String ¶
func (x *QueryKeysRequest) String() string
type QueryKeysResponse ¶
type QueryKeysResponse struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` Pagination *PagingResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryKeysResponse) Descriptor
deprecated
func (*QueryKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryKeysResponse.ProtoReflect.Descriptor instead.
func (*QueryKeysResponse) GetKeys ¶
func (x *QueryKeysResponse) GetKeys() []string
func (*QueryKeysResponse) GetPagination ¶
func (x *QueryKeysResponse) GetPagination() *PagingResponse
func (*QueryKeysResponse) ProtoMessage ¶
func (*QueryKeysResponse) ProtoMessage()
func (*QueryKeysResponse) ProtoReflect ¶
func (x *QueryKeysResponse) ProtoReflect() protoreflect.Message
func (*QueryKeysResponse) Reset ¶
func (x *QueryKeysResponse) Reset()
func (*QueryKeysResponse) String ¶
func (x *QueryKeysResponse) String() string
type QueryMyKeysRequest ¶
type QueryMyKeysRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Pagination *PagingRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryMyKeysRequest) Descriptor
deprecated
func (*QueryMyKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMyKeysRequest.ProtoReflect.Descriptor instead.
func (*QueryMyKeysRequest) GetAddress ¶
func (x *QueryMyKeysRequest) GetAddress() string
func (*QueryMyKeysRequest) GetPagination ¶
func (x *QueryMyKeysRequest) GetPagination() *PagingRequest
func (*QueryMyKeysRequest) GetUuid ¶
func (x *QueryMyKeysRequest) GetUuid() string
func (*QueryMyKeysRequest) ProtoMessage ¶
func (*QueryMyKeysRequest) ProtoMessage()
func (*QueryMyKeysRequest) ProtoReflect ¶
func (x *QueryMyKeysRequest) ProtoReflect() protoreflect.Message
func (*QueryMyKeysRequest) Reset ¶
func (x *QueryMyKeysRequest) Reset()
func (*QueryMyKeysRequest) String ¶
func (x *QueryMyKeysRequest) String() string
type QueryMyKeysResponse ¶
type QueryMyKeysResponse struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` Pagination *PagingResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryMyKeysResponse) Descriptor
deprecated
func (*QueryMyKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMyKeysResponse.ProtoReflect.Descriptor instead.
func (*QueryMyKeysResponse) GetKeys ¶
func (x *QueryMyKeysResponse) GetKeys() []string
func (*QueryMyKeysResponse) GetPagination ¶
func (x *QueryMyKeysResponse) GetPagination() *PagingResponse
func (*QueryMyKeysResponse) ProtoMessage ¶
func (*QueryMyKeysResponse) ProtoMessage()
func (*QueryMyKeysResponse) ProtoReflect ¶
func (x *QueryMyKeysResponse) ProtoReflect() protoreflect.Message
func (*QueryMyKeysResponse) Reset ¶
func (x *QueryMyKeysResponse) Reset()
func (*QueryMyKeysResponse) String ¶
func (x *QueryMyKeysResponse) String() string
type QueryReadRequest ¶
type QueryReadRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*QueryReadRequest) Descriptor
deprecated
func (*QueryReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryReadRequest.ProtoReflect.Descriptor instead.
func (*QueryReadRequest) GetKey ¶
func (x *QueryReadRequest) GetKey() string
func (*QueryReadRequest) GetUuid ¶
func (x *QueryReadRequest) GetUuid() string
func (*QueryReadRequest) ProtoMessage ¶
func (*QueryReadRequest) ProtoMessage()
func (*QueryReadRequest) ProtoReflect ¶
func (x *QueryReadRequest) ProtoReflect() protoreflect.Message
func (*QueryReadRequest) Reset ¶
func (x *QueryReadRequest) Reset()
func (*QueryReadRequest) String ¶
func (x *QueryReadRequest) String() string
type QueryReadResponse ¶
type QueryReadResponse struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*QueryReadResponse) Descriptor
deprecated
func (*QueryReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryReadResponse.ProtoReflect.Descriptor instead.
func (*QueryReadResponse) GetValue ¶
func (x *QueryReadResponse) GetValue() []byte
func (*QueryReadResponse) ProtoMessage ¶
func (*QueryReadResponse) ProtoMessage()
func (*QueryReadResponse) ProtoReflect ¶
func (x *QueryReadResponse) ProtoReflect() protoreflect.Message
func (*QueryReadResponse) Reset ¶
func (x *QueryReadResponse) Reset()
func (*QueryReadResponse) String ¶
func (x *QueryReadResponse) String() string
type QuerySearchRequest ¶
type QuerySearchRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` SearchString string `protobuf:"bytes,2,opt,name=searchString,proto3" json:"searchString,omitempty"` Pagination *PagingRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QuerySearchRequest) Descriptor
deprecated
func (*QuerySearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySearchRequest.ProtoReflect.Descriptor instead.
func (*QuerySearchRequest) GetPagination ¶
func (x *QuerySearchRequest) GetPagination() *PagingRequest
func (*QuerySearchRequest) GetSearchString ¶
func (x *QuerySearchRequest) GetSearchString() string
func (*QuerySearchRequest) GetUuid ¶
func (x *QuerySearchRequest) GetUuid() string
func (*QuerySearchRequest) ProtoMessage ¶
func (*QuerySearchRequest) ProtoMessage()
func (*QuerySearchRequest) ProtoReflect ¶
func (x *QuerySearchRequest) ProtoReflect() protoreflect.Message
func (*QuerySearchRequest) Reset ¶
func (x *QuerySearchRequest) Reset()
func (*QuerySearchRequest) String ¶
func (x *QuerySearchRequest) String() string
type QuerySearchResponse ¶
type QuerySearchResponse struct { KeyValues []*KeyValue `protobuf:"bytes,1,rep,name=keyValues,proto3" json:"keyValues,omitempty"` Pagination *PagingResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QuerySearchResponse) Descriptor
deprecated
func (*QuerySearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySearchResponse.ProtoReflect.Descriptor instead.
func (*QuerySearchResponse) GetKeyValues ¶
func (x *QuerySearchResponse) GetKeyValues() []*KeyValue
func (*QuerySearchResponse) GetPagination ¶
func (x *QuerySearchResponse) GetPagination() *PagingResponse
func (*QuerySearchResponse) ProtoMessage ¶
func (*QuerySearchResponse) ProtoMessage()
func (*QuerySearchResponse) ProtoReflect ¶
func (x *QuerySearchResponse) ProtoReflect() protoreflect.Message
func (*QuerySearchResponse) Reset ¶
func (x *QuerySearchResponse) Reset()
func (*QuerySearchResponse) String ¶
func (x *QuerySearchResponse) String() string
type QueryServer ¶
type QueryServer interface { // this line is used by starport scaffolding # 2 Read(context.Context, *QueryReadRequest) (*QueryReadResponse, error) Keys(context.Context, *QueryKeysRequest) (*QueryKeysResponse, error) MyKeys(context.Context, *QueryMyKeysRequest) (*QueryMyKeysResponse, error) Count(context.Context, *QueryCountRequest) (*QueryCountResponse, error) Has(context.Context, *QueryHasRequest) (*QueryHasResponse, error) Search(context.Context, *QuerySearchRequest) (*QuerySearchResponse, error) GetNShortestLeases(context.Context, *QueryGetNShortestLeasesRequest) (*QueryGetNShortestLeasesResponse, error) GetLease(context.Context, *QueryGetLeaseRequest) (*QueryGetLeaseResponse, error) KeyValues(context.Context, *QueryKeyValuesRequest) (*QueryKeyValuesResponse, error) File(context.Context, *QueryFileRequest) (*QueryFileResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) Count ¶
func (UnimplementedMsgServer) Count(context.Context, *MsgCount) (*MsgCountResponse, error)
func (UnimplementedMsgServer) Create ¶
func (UnimplementedMsgServer) Create(context.Context, *MsgCreate) (*MsgCreateResponse, error)
func (UnimplementedMsgServer) Delete ¶
func (UnimplementedMsgServer) Delete(context.Context, *MsgDelete) (*MsgDeleteResponse, error)
func (UnimplementedMsgServer) DeleteAll ¶
func (UnimplementedMsgServer) DeleteAll(context.Context, *MsgDeleteAll) (*MsgDeleteAllResponse, error)
func (UnimplementedMsgServer) GetLease ¶
func (UnimplementedMsgServer) GetLease(context.Context, *MsgGetLease) (*MsgGetLeaseResponse, error)
func (UnimplementedMsgServer) GetNShortestLeases ¶
func (UnimplementedMsgServer) GetNShortestLeases(context.Context, *MsgGetNShortestLeases) (*MsgGetNShortestLeasesResponse, error)
func (UnimplementedMsgServer) Has ¶
func (UnimplementedMsgServer) Has(context.Context, *MsgHas) (*MsgHasResponse, error)
func (UnimplementedMsgServer) KeyValues ¶
func (UnimplementedMsgServer) KeyValues(context.Context, *MsgKeyValues) (*MsgKeyValuesResponse, error)
func (UnimplementedMsgServer) Keys ¶
func (UnimplementedMsgServer) Keys(context.Context, *MsgKeys) (*MsgKeysResponse, error)
func (UnimplementedMsgServer) MultiUpdate ¶
func (UnimplementedMsgServer) MultiUpdate(context.Context, *MsgMultiUpdate) (*MsgMultiUpdateResponse, error)
func (UnimplementedMsgServer) Read ¶
func (UnimplementedMsgServer) Read(context.Context, *MsgRead) (*MsgReadResponse, error)
func (UnimplementedMsgServer) Rename ¶
func (UnimplementedMsgServer) Rename(context.Context, *MsgRename) (*MsgRenameResponse, error)
func (UnimplementedMsgServer) RenewLease ¶
func (UnimplementedMsgServer) RenewLease(context.Context, *MsgRenewLease) (*MsgRenewLeaseResponse, error)
func (UnimplementedMsgServer) RenewLeasesAll ¶
func (UnimplementedMsgServer) RenewLeasesAll(context.Context, *MsgRenewLeasesAll) (*MsgRenewLeasesAllResponse, error)
func (UnimplementedMsgServer) Update ¶
func (UnimplementedMsgServer) Update(context.Context, *MsgUpdate) (*MsgUpdateResponse, error)
func (UnimplementedMsgServer) Upsert ¶
func (UnimplementedMsgServer) Upsert(context.Context, *MsgUpsert) (*MsgUpsertResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Count ¶
func (UnimplementedQueryServer) Count(context.Context, *QueryCountRequest) (*QueryCountResponse, error)
func (UnimplementedQueryServer) File ¶
func (UnimplementedQueryServer) File(context.Context, *QueryFileRequest) (*QueryFileResponse, error)
func (UnimplementedQueryServer) GetLease ¶
func (UnimplementedQueryServer) GetLease(context.Context, *QueryGetLeaseRequest) (*QueryGetLeaseResponse, error)
func (UnimplementedQueryServer) GetNShortestLeases ¶
func (UnimplementedQueryServer) GetNShortestLeases(context.Context, *QueryGetNShortestLeasesRequest) (*QueryGetNShortestLeasesResponse, error)
func (UnimplementedQueryServer) Has ¶
func (UnimplementedQueryServer) Has(context.Context, *QueryHasRequest) (*QueryHasResponse, error)
func (UnimplementedQueryServer) KeyValues ¶
func (UnimplementedQueryServer) KeyValues(context.Context, *QueryKeyValuesRequest) (*QueryKeyValuesResponse, error)
func (UnimplementedQueryServer) Keys ¶
func (UnimplementedQueryServer) Keys(context.Context, *QueryKeysRequest) (*QueryKeysResponse, error)
func (UnimplementedQueryServer) MyKeys ¶
func (UnimplementedQueryServer) MyKeys(context.Context, *QueryMyKeysRequest) (*QueryMyKeysResponse, error)
func (UnimplementedQueryServer) Read ¶
func (UnimplementedQueryServer) Read(context.Context, *QueryReadRequest) (*QueryReadResponse, error)
func (UnimplementedQueryServer) Search ¶
func (UnimplementedQueryServer) Search(context.Context, *QuerySearchRequest) (*QuerySearchResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.