Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ThereIsKey(index string) []byte
- type AccountKeeper
- type BankKeeper
- type CapabilityKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetThereIsList() []ThereIs
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MintKeeper
- type MsgClient
- type MsgCreateThereIs
- func (*MsgCreateThereIs) Descriptor() ([]byte, []int)
- func (m *MsgCreateThereIs) GetCreator() string
- func (m *MsgCreateThereIs) GetDid() string
- func (m *MsgCreateThereIs) GetDocumentJson() string
- func (m *MsgCreateThereIs) GetIndex() string
- func (msg *MsgCreateThereIs) GetSignBytes() []byte
- func (msg *MsgCreateThereIs) GetSigners() []sdk.AccAddress
- func (m *MsgCreateThereIs) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateThereIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateThereIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateThereIs) ProtoMessage()
- func (m *MsgCreateThereIs) Reset()
- func (msg *MsgCreateThereIs) Route() string
- func (m *MsgCreateThereIs) Size() (n int)
- func (m *MsgCreateThereIs) String() string
- func (msg *MsgCreateThereIs) Type() string
- func (m *MsgCreateThereIs) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateThereIs) ValidateBasic() error
- func (m *MsgCreateThereIs) XXX_DiscardUnknown()
- func (m *MsgCreateThereIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateThereIs) XXX_Merge(src proto.Message)
- func (m *MsgCreateThereIs) XXX_Size() int
- func (m *MsgCreateThereIs) XXX_Unmarshal(b []byte) error
- type MsgCreateThereIsResponse
- func (*MsgCreateThereIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateThereIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateThereIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateThereIsResponse) ProtoMessage()
- func (m *MsgCreateThereIsResponse) Reset()
- func (m *MsgCreateThereIsResponse) Size() (n int)
- func (m *MsgCreateThereIsResponse) String() string
- func (m *MsgCreateThereIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateThereIsResponse) XXX_DiscardUnknown()
- func (m *MsgCreateThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateThereIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateThereIsResponse) XXX_Size() int
- func (m *MsgCreateThereIsResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteBlob
- func (*MsgDeleteBlob) Descriptor() ([]byte, []int)
- func (m *MsgDeleteBlob) GetCreator() string
- func (m *MsgDeleteBlob) GetDid() string
- func (m *MsgDeleteBlob) GetPublicKey() string
- func (msg *MsgDeleteBlob) GetSignBytes() []byte
- func (msg *MsgDeleteBlob) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteBlob) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteBlob) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteBlob) ProtoMessage()
- func (m *MsgDeleteBlob) Reset()
- func (msg *MsgDeleteBlob) Route() string
- func (m *MsgDeleteBlob) Size() (n int)
- func (m *MsgDeleteBlob) String() string
- func (msg *MsgDeleteBlob) Type() string
- func (m *MsgDeleteBlob) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteBlob) ValidateBasic() error
- func (m *MsgDeleteBlob) XXX_DiscardUnknown()
- func (m *MsgDeleteBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteBlob) XXX_Merge(src proto.Message)
- func (m *MsgDeleteBlob) XXX_Size() int
- func (m *MsgDeleteBlob) XXX_Unmarshal(b []byte) error
- type MsgDeleteBlobResponse
- func (*MsgDeleteBlobResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteBlobResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteBlobResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteBlobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteBlobResponse) ProtoMessage()
- func (m *MsgDeleteBlobResponse) Reset()
- func (m *MsgDeleteBlobResponse) Size() (n int)
- func (m *MsgDeleteBlobResponse) String() string
- func (m *MsgDeleteBlobResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteBlobResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteBlobResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteBlobResponse) XXX_Size() int
- func (m *MsgDeleteBlobResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteThereIs
- func (*MsgDeleteThereIs) Descriptor() ([]byte, []int)
- func (m *MsgDeleteThereIs) GetCreator() string
- func (m *MsgDeleteThereIs) GetIndex() string
- func (msg *MsgDeleteThereIs) GetSignBytes() []byte
- func (msg *MsgDeleteThereIs) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteThereIs) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteThereIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteThereIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteThereIs) ProtoMessage()
- func (m *MsgDeleteThereIs) Reset()
- func (msg *MsgDeleteThereIs) Route() string
- func (m *MsgDeleteThereIs) Size() (n int)
- func (m *MsgDeleteThereIs) String() string
- func (msg *MsgDeleteThereIs) Type() string
- func (m *MsgDeleteThereIs) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteThereIs) ValidateBasic() error
- func (m *MsgDeleteThereIs) XXX_DiscardUnknown()
- func (m *MsgDeleteThereIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteThereIs) XXX_Merge(src proto.Message)
- func (m *MsgDeleteThereIs) XXX_Size() int
- func (m *MsgDeleteThereIs) XXX_Unmarshal(b []byte) error
- type MsgDeleteThereIsResponse
- func (*MsgDeleteThereIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteThereIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteThereIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteThereIsResponse) ProtoMessage()
- func (m *MsgDeleteThereIsResponse) Reset()
- func (m *MsgDeleteThereIsResponse) Size() (n int)
- func (m *MsgDeleteThereIsResponse) String() string
- func (m *MsgDeleteThereIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteThereIsResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteThereIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteThereIsResponse) XXX_Size() int
- func (m *MsgDeleteThereIsResponse) XXX_Unmarshal(b []byte) error
- type MsgDownloadBlob
- func (*MsgDownloadBlob) Descriptor() ([]byte, []int)
- func (m *MsgDownloadBlob) GetCreator() string
- func (m *MsgDownloadBlob) GetDid() string
- func (m *MsgDownloadBlob) GetPath() string
- func (msg *MsgDownloadBlob) GetSignBytes() []byte
- func (msg *MsgDownloadBlob) GetSigners() []sdk.AccAddress
- func (m *MsgDownloadBlob) GetTimeout() int32
- func (m *MsgDownloadBlob) Marshal() (dAtA []byte, err error)
- func (m *MsgDownloadBlob) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDownloadBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDownloadBlob) ProtoMessage()
- func (m *MsgDownloadBlob) Reset()
- func (msg *MsgDownloadBlob) Route() string
- func (m *MsgDownloadBlob) Size() (n int)
- func (m *MsgDownloadBlob) String() string
- func (msg *MsgDownloadBlob) Type() string
- func (m *MsgDownloadBlob) Unmarshal(dAtA []byte) error
- func (msg *MsgDownloadBlob) ValidateBasic() error
- func (m *MsgDownloadBlob) XXX_DiscardUnknown()
- func (m *MsgDownloadBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDownloadBlob) XXX_Merge(src proto.Message)
- func (m *MsgDownloadBlob) XXX_Size() int
- func (m *MsgDownloadBlob) XXX_Unmarshal(b []byte) error
- type MsgDownloadBlobResponse
- func (*MsgDownloadBlobResponse) Descriptor() ([]byte, []int)
- func (m *MsgDownloadBlobResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDownloadBlobResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDownloadBlobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDownloadBlobResponse) ProtoMessage()
- func (m *MsgDownloadBlobResponse) Reset()
- func (m *MsgDownloadBlobResponse) Size() (n int)
- func (m *MsgDownloadBlobResponse) String() string
- func (m *MsgDownloadBlobResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDownloadBlobResponse) XXX_DiscardUnknown()
- func (m *MsgDownloadBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDownloadBlobResponse) XXX_Merge(src proto.Message)
- func (m *MsgDownloadBlobResponse) XXX_Size() int
- func (m *MsgDownloadBlobResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSyncBlob
- func (*MsgSyncBlob) Descriptor() ([]byte, []int)
- func (m *MsgSyncBlob) GetCreator() string
- func (m *MsgSyncBlob) GetDid() string
- func (m *MsgSyncBlob) GetPath() string
- func (msg *MsgSyncBlob) GetSignBytes() []byte
- func (msg *MsgSyncBlob) GetSigners() []sdk.AccAddress
- func (m *MsgSyncBlob) GetTimeout() int32
- func (m *MsgSyncBlob) Marshal() (dAtA []byte, err error)
- func (m *MsgSyncBlob) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSyncBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSyncBlob) ProtoMessage()
- func (m *MsgSyncBlob) Reset()
- func (msg *MsgSyncBlob) Route() string
- func (m *MsgSyncBlob) Size() (n int)
- func (m *MsgSyncBlob) String() string
- func (msg *MsgSyncBlob) Type() string
- func (m *MsgSyncBlob) Unmarshal(dAtA []byte) error
- func (msg *MsgSyncBlob) ValidateBasic() error
- func (m *MsgSyncBlob) XXX_DiscardUnknown()
- func (m *MsgSyncBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSyncBlob) XXX_Merge(src proto.Message)
- func (m *MsgSyncBlob) XXX_Size() int
- func (m *MsgSyncBlob) XXX_Unmarshal(b []byte) error
- type MsgSyncBlobResponse
- func (*MsgSyncBlobResponse) Descriptor() ([]byte, []int)
- func (m *MsgSyncBlobResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSyncBlobResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSyncBlobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSyncBlobResponse) ProtoMessage()
- func (m *MsgSyncBlobResponse) Reset()
- func (m *MsgSyncBlobResponse) Size() (n int)
- func (m *MsgSyncBlobResponse) String() string
- func (m *MsgSyncBlobResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSyncBlobResponse) XXX_DiscardUnknown()
- func (m *MsgSyncBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSyncBlobResponse) XXX_Merge(src proto.Message)
- func (m *MsgSyncBlobResponse) XXX_Size() int
- func (m *MsgSyncBlobResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateThereIs
- func (*MsgUpdateThereIs) Descriptor() ([]byte, []int)
- func (m *MsgUpdateThereIs) GetCreator() string
- func (m *MsgUpdateThereIs) GetDid() string
- func (m *MsgUpdateThereIs) GetDocumentJson() string
- func (m *MsgUpdateThereIs) GetIndex() string
- func (msg *MsgUpdateThereIs) GetSignBytes() []byte
- func (msg *MsgUpdateThereIs) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateThereIs) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateThereIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateThereIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateThereIs) ProtoMessage()
- func (m *MsgUpdateThereIs) Reset()
- func (msg *MsgUpdateThereIs) Route() string
- func (m *MsgUpdateThereIs) Size() (n int)
- func (m *MsgUpdateThereIs) String() string
- func (msg *MsgUpdateThereIs) Type() string
- func (m *MsgUpdateThereIs) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateThereIs) ValidateBasic() error
- func (m *MsgUpdateThereIs) XXX_DiscardUnknown()
- func (m *MsgUpdateThereIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateThereIs) XXX_Merge(src proto.Message)
- func (m *MsgUpdateThereIs) XXX_Size() int
- func (m *MsgUpdateThereIs) XXX_Unmarshal(b []byte) error
- type MsgUpdateThereIsResponse
- func (*MsgUpdateThereIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateThereIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateThereIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateThereIsResponse) ProtoMessage()
- func (m *MsgUpdateThereIsResponse) Reset()
- func (m *MsgUpdateThereIsResponse) Size() (n int)
- func (m *MsgUpdateThereIsResponse) String() string
- func (m *MsgUpdateThereIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateThereIsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateThereIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateThereIsResponse) XXX_Size() int
- func (m *MsgUpdateThereIsResponse) XXX_Unmarshal(b []byte) error
- type MsgUploadBlob
- func (*MsgUploadBlob) Descriptor() ([]byte, []int)
- func (m *MsgUploadBlob) GetCreator() string
- func (m *MsgUploadBlob) GetLabel() string
- func (m *MsgUploadBlob) GetLastModified() int32
- func (m *MsgUploadBlob) GetPath() string
- func (m *MsgUploadBlob) GetRefDid() string
- func (msg *MsgUploadBlob) GetSignBytes() []byte
- func (msg *MsgUploadBlob) GetSigners() []sdk.AccAddress
- func (m *MsgUploadBlob) GetSize_() int32
- func (m *MsgUploadBlob) Marshal() (dAtA []byte, err error)
- func (m *MsgUploadBlob) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUploadBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUploadBlob) ProtoMessage()
- func (m *MsgUploadBlob) Reset()
- func (msg *MsgUploadBlob) Route() string
- func (m *MsgUploadBlob) Size() (n int)
- func (m *MsgUploadBlob) String() string
- func (msg *MsgUploadBlob) Type() string
- func (m *MsgUploadBlob) Unmarshal(dAtA []byte) error
- func (msg *MsgUploadBlob) ValidateBasic() error
- func (m *MsgUploadBlob) XXX_DiscardUnknown()
- func (m *MsgUploadBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUploadBlob) XXX_Merge(src proto.Message)
- func (m *MsgUploadBlob) XXX_Size() int
- func (m *MsgUploadBlob) XXX_Unmarshal(b []byte) error
- type MsgUploadBlobResponse
- func (*MsgUploadBlobResponse) Descriptor() ([]byte, []int)
- func (m *MsgUploadBlobResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUploadBlobResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUploadBlobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUploadBlobResponse) ProtoMessage()
- func (m *MsgUploadBlobResponse) Reset()
- func (m *MsgUploadBlobResponse) Size() (n int)
- func (m *MsgUploadBlobResponse) String() string
- func (m *MsgUploadBlobResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUploadBlobResponse) XXX_DiscardUnknown()
- func (m *MsgUploadBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUploadBlobResponse) XXX_Merge(src proto.Message)
- func (m *MsgUploadBlobResponse) XXX_Size() int
- func (m *MsgUploadBlobResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAllThereIsRequest
- func (*QueryAllThereIsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllThereIsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllThereIsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllThereIsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllThereIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllThereIsRequest) ProtoMessage()
- func (m *QueryAllThereIsRequest) Reset()
- func (m *QueryAllThereIsRequest) Size() (n int)
- func (m *QueryAllThereIsRequest) String() string
- func (m *QueryAllThereIsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllThereIsRequest) XXX_DiscardUnknown()
- func (m *QueryAllThereIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllThereIsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllThereIsRequest) XXX_Size() int
- func (m *QueryAllThereIsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllThereIsResponse
- func (*QueryAllThereIsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllThereIsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllThereIsResponse) GetThereIs() []ThereIs
- func (m *QueryAllThereIsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllThereIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllThereIsResponse) ProtoMessage()
- func (m *QueryAllThereIsResponse) Reset()
- func (m *QueryAllThereIsResponse) Size() (n int)
- func (m *QueryAllThereIsResponse) String() string
- func (m *QueryAllThereIsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllThereIsResponse) XXX_DiscardUnknown()
- func (m *QueryAllThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllThereIsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllThereIsResponse) XXX_Size() int
- func (m *QueryAllThereIsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetThereIsRequest
- func (*QueryGetThereIsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetThereIsRequest) GetIndex() string
- func (m *QueryGetThereIsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetThereIsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetThereIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetThereIsRequest) ProtoMessage()
- func (m *QueryGetThereIsRequest) Reset()
- func (m *QueryGetThereIsRequest) Size() (n int)
- func (m *QueryGetThereIsRequest) String() string
- func (m *QueryGetThereIsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetThereIsRequest) XXX_DiscardUnknown()
- func (m *QueryGetThereIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetThereIsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetThereIsRequest) XXX_Size() int
- func (m *QueryGetThereIsRequest) XXX_Unmarshal(b []byte) error
- type QueryGetThereIsResponse
- func (*QueryGetThereIsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetThereIsResponse) GetThereIs() ThereIs
- func (m *QueryGetThereIsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetThereIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetThereIsResponse) ProtoMessage()
- func (m *QueryGetThereIsResponse) Reset()
- func (m *QueryGetThereIsResponse) Size() (n int)
- func (m *QueryGetThereIsResponse) String() string
- func (m *QueryGetThereIsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetThereIsResponse) XXX_DiscardUnknown()
- func (m *QueryGetThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetThereIsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetThereIsResponse) XXX_Size() int
- func (m *QueryGetThereIsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type ThereIs
- func (*ThereIs) Descriptor() ([]byte, []int)
- func (m *ThereIs) GetCreator() string
- func (m *ThereIs) GetDid() string
- func (m *ThereIs) GetDocument() []byte
- func (m *ThereIs) GetIndex() string
- func (m *ThereIs) Marshal() (dAtA []byte, err error)
- func (m *ThereIs) MarshalTo(dAtA []byte) (int, error)
- func (m *ThereIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ThereIs) ProtoMessage()
- func (m *ThereIs) Reset()
- func (m *ThereIs) Size() (n int)
- func (m *ThereIs) String() string
- func (m *ThereIs) Unmarshal(dAtA []byte) error
- func (m *ThereIs) XXX_DiscardUnknown()
- func (m *ThereIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThereIs) XXX_Merge(src proto.Message)
- func (m *ThereIs) XXX_Size() int
- func (m *ThereIs) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateThereIs(ctx context.Context, req *MsgCreateThereIs) (*MsgCreateThereIsResponse, error)
- func (*UnimplementedMsgServer) DeleteBlob(ctx context.Context, req *MsgDeleteBlob) (*MsgDeleteBlobResponse, error)
- func (*UnimplementedMsgServer) DeleteThereIs(ctx context.Context, req *MsgDeleteThereIs) (*MsgDeleteThereIsResponse, error)
- func (*UnimplementedMsgServer) DownloadBlob(ctx context.Context, req *MsgDownloadBlob) (*MsgDownloadBlobResponse, error)
- func (*UnimplementedMsgServer) SyncBlob(ctx context.Context, req *MsgSyncBlob) (*MsgSyncBlobResponse, error)
- func (*UnimplementedMsgServer) UpdateThereIs(ctx context.Context, req *MsgUpdateThereIs) (*MsgUpdateThereIsResponse, error)
- func (*UnimplementedMsgServer) UploadBlob(ctx context.Context, req *MsgUploadBlob) (*MsgUploadBlobResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ThereIs(ctx context.Context, req *QueryGetThereIsRequest) (*QueryGetThereIsResponse, error)
- func (*UnimplementedQueryServer) ThereIsAll(ctx context.Context, req *QueryAllThereIsRequest) (*QueryAllThereIsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "blob" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_blob" )
const ( TypeMsgCreateThereIs = "create_there_is" TypeMsgUpdateThereIs = "update_there_is" TypeMsgDeleteThereIs = "delete_there_is" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
// ThereIsKeyPrefix is the prefix to retrieve all ThereIs
ThereIsKeyPrefix = "ThereIs/value/"
)
const TypeMsgDeleteBlob = "delete_blob"
const TypeMsgDownloadBlob = "download_blob"
const TypeMsgSyncBlob = "sync_blob"
const TypeMsgUploadBlob = "upload_blob"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthThereIs = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowThereIs = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupThereIs = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/blob module sentinel errors
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ThereIsKey ¶
ThereIsKey returns the store key to retrieve a ThereIs from the index fields
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type CapabilityKeeper ¶
type CapabilityKeeper interface { }
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` ThereIsList []ThereIs `protobuf:"bytes,2,rep,name=thereIsList,proto3" json:"thereIsList"` }
GenesisState defines the blob module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetThereIsList ¶
func (m *GenesisState) GetThereIsList() []ThereIs
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MintKeeper ¶
type MintKeeper interface { }
type MsgClient ¶
type MsgClient interface { UploadBlob(ctx context.Context, in *MsgUploadBlob, opts ...grpc.CallOption) (*MsgUploadBlobResponse, error) DownloadBlob(ctx context.Context, in *MsgDownloadBlob, opts ...grpc.CallOption) (*MsgDownloadBlobResponse, error) SyncBlob(ctx context.Context, in *MsgSyncBlob, opts ...grpc.CallOption) (*MsgSyncBlobResponse, error) DeleteBlob(ctx context.Context, in *MsgDeleteBlob, opts ...grpc.CallOption) (*MsgDeleteBlobResponse, error) CreateThereIs(ctx context.Context, in *MsgCreateThereIs, opts ...grpc.CallOption) (*MsgCreateThereIsResponse, error) UpdateThereIs(ctx context.Context, in *MsgUpdateThereIs, opts ...grpc.CallOption) (*MsgUpdateThereIsResponse, error) DeleteThereIs(ctx context.Context, in *MsgDeleteThereIs, opts ...grpc.CallOption) (*MsgDeleteThereIsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateThereIs ¶
type MsgCreateThereIs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` DocumentJson string `protobuf:"bytes,4,opt,name=documentJson,proto3" json:"documentJson,omitempty"` }
func NewMsgCreateThereIs ¶
func NewMsgCreateThereIs( creator string, index string, did string, value string, ) *MsgCreateThereIs
func (*MsgCreateThereIs) Descriptor ¶
func (*MsgCreateThereIs) Descriptor() ([]byte, []int)
func (*MsgCreateThereIs) GetCreator ¶
func (m *MsgCreateThereIs) GetCreator() string
func (*MsgCreateThereIs) GetDid ¶
func (m *MsgCreateThereIs) GetDid() string
func (*MsgCreateThereIs) GetDocumentJson ¶
func (m *MsgCreateThereIs) GetDocumentJson() string
func (*MsgCreateThereIs) GetIndex ¶
func (m *MsgCreateThereIs) GetIndex() string
func (*MsgCreateThereIs) GetSignBytes ¶
func (msg *MsgCreateThereIs) GetSignBytes() []byte
func (*MsgCreateThereIs) GetSigners ¶
func (msg *MsgCreateThereIs) GetSigners() []sdk.AccAddress
func (*MsgCreateThereIs) Marshal ¶
func (m *MsgCreateThereIs) Marshal() (dAtA []byte, err error)
func (*MsgCreateThereIs) MarshalToSizedBuffer ¶
func (m *MsgCreateThereIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateThereIs) ProtoMessage ¶
func (*MsgCreateThereIs) ProtoMessage()
func (*MsgCreateThereIs) Reset ¶
func (m *MsgCreateThereIs) Reset()
func (*MsgCreateThereIs) Route ¶
func (msg *MsgCreateThereIs) Route() string
func (*MsgCreateThereIs) Size ¶
func (m *MsgCreateThereIs) Size() (n int)
func (*MsgCreateThereIs) String ¶
func (m *MsgCreateThereIs) String() string
func (*MsgCreateThereIs) Type ¶
func (msg *MsgCreateThereIs) Type() string
func (*MsgCreateThereIs) Unmarshal ¶
func (m *MsgCreateThereIs) Unmarshal(dAtA []byte) error
func (*MsgCreateThereIs) ValidateBasic ¶
func (msg *MsgCreateThereIs) ValidateBasic() error
func (*MsgCreateThereIs) XXX_DiscardUnknown ¶
func (m *MsgCreateThereIs) XXX_DiscardUnknown()
func (*MsgCreateThereIs) XXX_Marshal ¶
func (m *MsgCreateThereIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateThereIs) XXX_Merge ¶
func (m *MsgCreateThereIs) XXX_Merge(src proto.Message)
func (*MsgCreateThereIs) XXX_Size ¶
func (m *MsgCreateThereIs) XXX_Size() int
func (*MsgCreateThereIs) XXX_Unmarshal ¶
func (m *MsgCreateThereIs) XXX_Unmarshal(b []byte) error
type MsgCreateThereIsResponse ¶
type MsgCreateThereIsResponse struct { }
func (*MsgCreateThereIsResponse) Descriptor ¶
func (*MsgCreateThereIsResponse) Descriptor() ([]byte, []int)
func (*MsgCreateThereIsResponse) Marshal ¶
func (m *MsgCreateThereIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateThereIsResponse) MarshalTo ¶
func (m *MsgCreateThereIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateThereIsResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateThereIsResponse) ProtoMessage ¶
func (*MsgCreateThereIsResponse) ProtoMessage()
func (*MsgCreateThereIsResponse) Reset ¶
func (m *MsgCreateThereIsResponse) Reset()
func (*MsgCreateThereIsResponse) Size ¶
func (m *MsgCreateThereIsResponse) Size() (n int)
func (*MsgCreateThereIsResponse) String ¶
func (m *MsgCreateThereIsResponse) String() string
func (*MsgCreateThereIsResponse) Unmarshal ¶
func (m *MsgCreateThereIsResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateThereIsResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateThereIsResponse) XXX_DiscardUnknown()
func (*MsgCreateThereIsResponse) XXX_Marshal ¶
func (m *MsgCreateThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateThereIsResponse) XXX_Merge ¶
func (m *MsgCreateThereIsResponse) XXX_Merge(src proto.Message)
func (*MsgCreateThereIsResponse) XXX_Size ¶
func (m *MsgCreateThereIsResponse) XXX_Size() int
func (*MsgCreateThereIsResponse) XXX_Unmarshal ¶
func (m *MsgCreateThereIsResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteBlob ¶
type MsgDeleteBlob struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` PublicKey string `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"` }
func NewMsgDeleteBlob ¶
func NewMsgDeleteBlob(creator string, did string, publicKey string) *MsgDeleteBlob
func (*MsgDeleteBlob) Descriptor ¶
func (*MsgDeleteBlob) Descriptor() ([]byte, []int)
func (*MsgDeleteBlob) GetCreator ¶
func (m *MsgDeleteBlob) GetCreator() string
func (*MsgDeleteBlob) GetDid ¶
func (m *MsgDeleteBlob) GetDid() string
func (*MsgDeleteBlob) GetPublicKey ¶
func (m *MsgDeleteBlob) GetPublicKey() string
func (*MsgDeleteBlob) GetSignBytes ¶
func (msg *MsgDeleteBlob) GetSignBytes() []byte
func (*MsgDeleteBlob) GetSigners ¶
func (msg *MsgDeleteBlob) GetSigners() []sdk.AccAddress
func (*MsgDeleteBlob) Marshal ¶
func (m *MsgDeleteBlob) Marshal() (dAtA []byte, err error)
func (*MsgDeleteBlob) MarshalToSizedBuffer ¶
func (m *MsgDeleteBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteBlob) ProtoMessage ¶
func (*MsgDeleteBlob) ProtoMessage()
func (*MsgDeleteBlob) Reset ¶
func (m *MsgDeleteBlob) Reset()
func (*MsgDeleteBlob) Route ¶
func (msg *MsgDeleteBlob) Route() string
func (*MsgDeleteBlob) Size ¶
func (m *MsgDeleteBlob) Size() (n int)
func (*MsgDeleteBlob) String ¶
func (m *MsgDeleteBlob) String() string
func (*MsgDeleteBlob) Type ¶
func (msg *MsgDeleteBlob) Type() string
func (*MsgDeleteBlob) Unmarshal ¶
func (m *MsgDeleteBlob) Unmarshal(dAtA []byte) error
func (*MsgDeleteBlob) ValidateBasic ¶
func (msg *MsgDeleteBlob) ValidateBasic() error
func (*MsgDeleteBlob) XXX_DiscardUnknown ¶
func (m *MsgDeleteBlob) XXX_DiscardUnknown()
func (*MsgDeleteBlob) XXX_Marshal ¶
func (m *MsgDeleteBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteBlob) XXX_Merge ¶
func (m *MsgDeleteBlob) XXX_Merge(src proto.Message)
func (*MsgDeleteBlob) XXX_Size ¶
func (m *MsgDeleteBlob) XXX_Size() int
func (*MsgDeleteBlob) XXX_Unmarshal ¶
func (m *MsgDeleteBlob) XXX_Unmarshal(b []byte) error
type MsgDeleteBlobResponse ¶
type MsgDeleteBlobResponse struct { }
func (*MsgDeleteBlobResponse) Descriptor ¶
func (*MsgDeleteBlobResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteBlobResponse) Marshal ¶
func (m *MsgDeleteBlobResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteBlobResponse) MarshalTo ¶
func (m *MsgDeleteBlobResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteBlobResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteBlobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteBlobResponse) ProtoMessage ¶
func (*MsgDeleteBlobResponse) ProtoMessage()
func (*MsgDeleteBlobResponse) Reset ¶
func (m *MsgDeleteBlobResponse) Reset()
func (*MsgDeleteBlobResponse) Size ¶
func (m *MsgDeleteBlobResponse) Size() (n int)
func (*MsgDeleteBlobResponse) String ¶
func (m *MsgDeleteBlobResponse) String() string
func (*MsgDeleteBlobResponse) Unmarshal ¶
func (m *MsgDeleteBlobResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteBlobResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteBlobResponse) XXX_DiscardUnknown()
func (*MsgDeleteBlobResponse) XXX_Marshal ¶
func (m *MsgDeleteBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteBlobResponse) XXX_Merge ¶
func (m *MsgDeleteBlobResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteBlobResponse) XXX_Size ¶
func (m *MsgDeleteBlobResponse) XXX_Size() int
func (*MsgDeleteBlobResponse) XXX_Unmarshal ¶
func (m *MsgDeleteBlobResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteThereIs ¶
type MsgDeleteThereIs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` }
func NewMsgDeleteThereIs ¶
func NewMsgDeleteThereIs( creator string, index string, ) *MsgDeleteThereIs
func (*MsgDeleteThereIs) Descriptor ¶
func (*MsgDeleteThereIs) Descriptor() ([]byte, []int)
func (*MsgDeleteThereIs) GetCreator ¶
func (m *MsgDeleteThereIs) GetCreator() string
func (*MsgDeleteThereIs) GetIndex ¶
func (m *MsgDeleteThereIs) GetIndex() string
func (*MsgDeleteThereIs) GetSignBytes ¶
func (msg *MsgDeleteThereIs) GetSignBytes() []byte
func (*MsgDeleteThereIs) GetSigners ¶
func (msg *MsgDeleteThereIs) GetSigners() []sdk.AccAddress
func (*MsgDeleteThereIs) Marshal ¶
func (m *MsgDeleteThereIs) Marshal() (dAtA []byte, err error)
func (*MsgDeleteThereIs) MarshalToSizedBuffer ¶
func (m *MsgDeleteThereIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteThereIs) ProtoMessage ¶
func (*MsgDeleteThereIs) ProtoMessage()
func (*MsgDeleteThereIs) Reset ¶
func (m *MsgDeleteThereIs) Reset()
func (*MsgDeleteThereIs) Route ¶
func (msg *MsgDeleteThereIs) Route() string
func (*MsgDeleteThereIs) Size ¶
func (m *MsgDeleteThereIs) Size() (n int)
func (*MsgDeleteThereIs) String ¶
func (m *MsgDeleteThereIs) String() string
func (*MsgDeleteThereIs) Type ¶
func (msg *MsgDeleteThereIs) Type() string
func (*MsgDeleteThereIs) Unmarshal ¶
func (m *MsgDeleteThereIs) Unmarshal(dAtA []byte) error
func (*MsgDeleteThereIs) ValidateBasic ¶
func (msg *MsgDeleteThereIs) ValidateBasic() error
func (*MsgDeleteThereIs) XXX_DiscardUnknown ¶
func (m *MsgDeleteThereIs) XXX_DiscardUnknown()
func (*MsgDeleteThereIs) XXX_Marshal ¶
func (m *MsgDeleteThereIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteThereIs) XXX_Merge ¶
func (m *MsgDeleteThereIs) XXX_Merge(src proto.Message)
func (*MsgDeleteThereIs) XXX_Size ¶
func (m *MsgDeleteThereIs) XXX_Size() int
func (*MsgDeleteThereIs) XXX_Unmarshal ¶
func (m *MsgDeleteThereIs) XXX_Unmarshal(b []byte) error
type MsgDeleteThereIsResponse ¶
type MsgDeleteThereIsResponse struct { }
func (*MsgDeleteThereIsResponse) Descriptor ¶
func (*MsgDeleteThereIsResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteThereIsResponse) Marshal ¶
func (m *MsgDeleteThereIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteThereIsResponse) MarshalTo ¶
func (m *MsgDeleteThereIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteThereIsResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteThereIsResponse) ProtoMessage ¶
func (*MsgDeleteThereIsResponse) ProtoMessage()
func (*MsgDeleteThereIsResponse) Reset ¶
func (m *MsgDeleteThereIsResponse) Reset()
func (*MsgDeleteThereIsResponse) Size ¶
func (m *MsgDeleteThereIsResponse) Size() (n int)
func (*MsgDeleteThereIsResponse) String ¶
func (m *MsgDeleteThereIsResponse) String() string
func (*MsgDeleteThereIsResponse) Unmarshal ¶
func (m *MsgDeleteThereIsResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteThereIsResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteThereIsResponse) XXX_DiscardUnknown()
func (*MsgDeleteThereIsResponse) XXX_Marshal ¶
func (m *MsgDeleteThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteThereIsResponse) XXX_Merge ¶
func (m *MsgDeleteThereIsResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteThereIsResponse) XXX_Size ¶
func (m *MsgDeleteThereIsResponse) XXX_Size() int
func (*MsgDeleteThereIsResponse) XXX_Unmarshal ¶
func (m *MsgDeleteThereIsResponse) XXX_Unmarshal(b []byte) error
type MsgDownloadBlob ¶
type MsgDownloadBlob struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Timeout int32 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"` }
func NewMsgDownloadBlob ¶
func NewMsgDownloadBlob(creator string, did string, path string, timeout int32) *MsgDownloadBlob
func (*MsgDownloadBlob) Descriptor ¶
func (*MsgDownloadBlob) Descriptor() ([]byte, []int)
func (*MsgDownloadBlob) GetCreator ¶
func (m *MsgDownloadBlob) GetCreator() string
func (*MsgDownloadBlob) GetDid ¶
func (m *MsgDownloadBlob) GetDid() string
func (*MsgDownloadBlob) GetPath ¶
func (m *MsgDownloadBlob) GetPath() string
func (*MsgDownloadBlob) GetSignBytes ¶
func (msg *MsgDownloadBlob) GetSignBytes() []byte
func (*MsgDownloadBlob) GetSigners ¶
func (msg *MsgDownloadBlob) GetSigners() []sdk.AccAddress
func (*MsgDownloadBlob) GetTimeout ¶
func (m *MsgDownloadBlob) GetTimeout() int32
func (*MsgDownloadBlob) Marshal ¶
func (m *MsgDownloadBlob) Marshal() (dAtA []byte, err error)
func (*MsgDownloadBlob) MarshalToSizedBuffer ¶
func (m *MsgDownloadBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDownloadBlob) ProtoMessage ¶
func (*MsgDownloadBlob) ProtoMessage()
func (*MsgDownloadBlob) Reset ¶
func (m *MsgDownloadBlob) Reset()
func (*MsgDownloadBlob) Route ¶
func (msg *MsgDownloadBlob) Route() string
func (*MsgDownloadBlob) Size ¶
func (m *MsgDownloadBlob) Size() (n int)
func (*MsgDownloadBlob) String ¶
func (m *MsgDownloadBlob) String() string
func (*MsgDownloadBlob) Type ¶
func (msg *MsgDownloadBlob) Type() string
func (*MsgDownloadBlob) Unmarshal ¶
func (m *MsgDownloadBlob) Unmarshal(dAtA []byte) error
func (*MsgDownloadBlob) ValidateBasic ¶
func (msg *MsgDownloadBlob) ValidateBasic() error
func (*MsgDownloadBlob) XXX_DiscardUnknown ¶
func (m *MsgDownloadBlob) XXX_DiscardUnknown()
func (*MsgDownloadBlob) XXX_Marshal ¶
func (m *MsgDownloadBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDownloadBlob) XXX_Merge ¶
func (m *MsgDownloadBlob) XXX_Merge(src proto.Message)
func (*MsgDownloadBlob) XXX_Size ¶
func (m *MsgDownloadBlob) XXX_Size() int
func (*MsgDownloadBlob) XXX_Unmarshal ¶
func (m *MsgDownloadBlob) XXX_Unmarshal(b []byte) error
type MsgDownloadBlobResponse ¶
type MsgDownloadBlobResponse struct { }
func (*MsgDownloadBlobResponse) Descriptor ¶
func (*MsgDownloadBlobResponse) Descriptor() ([]byte, []int)
func (*MsgDownloadBlobResponse) Marshal ¶
func (m *MsgDownloadBlobResponse) Marshal() (dAtA []byte, err error)
func (*MsgDownloadBlobResponse) MarshalTo ¶
func (m *MsgDownloadBlobResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDownloadBlobResponse) MarshalToSizedBuffer ¶
func (m *MsgDownloadBlobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDownloadBlobResponse) ProtoMessage ¶
func (*MsgDownloadBlobResponse) ProtoMessage()
func (*MsgDownloadBlobResponse) Reset ¶
func (m *MsgDownloadBlobResponse) Reset()
func (*MsgDownloadBlobResponse) Size ¶
func (m *MsgDownloadBlobResponse) Size() (n int)
func (*MsgDownloadBlobResponse) String ¶
func (m *MsgDownloadBlobResponse) String() string
func (*MsgDownloadBlobResponse) Unmarshal ¶
func (m *MsgDownloadBlobResponse) Unmarshal(dAtA []byte) error
func (*MsgDownloadBlobResponse) XXX_DiscardUnknown ¶
func (m *MsgDownloadBlobResponse) XXX_DiscardUnknown()
func (*MsgDownloadBlobResponse) XXX_Marshal ¶
func (m *MsgDownloadBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDownloadBlobResponse) XXX_Merge ¶
func (m *MsgDownloadBlobResponse) XXX_Merge(src proto.Message)
func (*MsgDownloadBlobResponse) XXX_Size ¶
func (m *MsgDownloadBlobResponse) XXX_Size() int
func (*MsgDownloadBlobResponse) XXX_Unmarshal ¶
func (m *MsgDownloadBlobResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { UploadBlob(context.Context, *MsgUploadBlob) (*MsgUploadBlobResponse, error) DownloadBlob(context.Context, *MsgDownloadBlob) (*MsgDownloadBlobResponse, error) SyncBlob(context.Context, *MsgSyncBlob) (*MsgSyncBlobResponse, error) DeleteBlob(context.Context, *MsgDeleteBlob) (*MsgDeleteBlobResponse, error) CreateThereIs(context.Context, *MsgCreateThereIs) (*MsgCreateThereIsResponse, error) UpdateThereIs(context.Context, *MsgUpdateThereIs) (*MsgUpdateThereIsResponse, error) DeleteThereIs(context.Context, *MsgDeleteThereIs) (*MsgDeleteThereIsResponse, error) }
MsgServer is the server API for Msg service.
type MsgSyncBlob ¶
type MsgSyncBlob struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Timeout int32 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"` }
func NewMsgSyncBlob ¶
func NewMsgSyncBlob(creator string, did string, path string, timeout int32) *MsgSyncBlob
func (*MsgSyncBlob) Descriptor ¶
func (*MsgSyncBlob) Descriptor() ([]byte, []int)
func (*MsgSyncBlob) GetCreator ¶
func (m *MsgSyncBlob) GetCreator() string
func (*MsgSyncBlob) GetDid ¶
func (m *MsgSyncBlob) GetDid() string
func (*MsgSyncBlob) GetPath ¶
func (m *MsgSyncBlob) GetPath() string
func (*MsgSyncBlob) GetSignBytes ¶
func (msg *MsgSyncBlob) GetSignBytes() []byte
func (*MsgSyncBlob) GetSigners ¶
func (msg *MsgSyncBlob) GetSigners() []sdk.AccAddress
func (*MsgSyncBlob) GetTimeout ¶
func (m *MsgSyncBlob) GetTimeout() int32
func (*MsgSyncBlob) Marshal ¶
func (m *MsgSyncBlob) Marshal() (dAtA []byte, err error)
func (*MsgSyncBlob) MarshalToSizedBuffer ¶
func (m *MsgSyncBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSyncBlob) ProtoMessage ¶
func (*MsgSyncBlob) ProtoMessage()
func (*MsgSyncBlob) Reset ¶
func (m *MsgSyncBlob) Reset()
func (*MsgSyncBlob) Route ¶
func (msg *MsgSyncBlob) Route() string
func (*MsgSyncBlob) Size ¶
func (m *MsgSyncBlob) Size() (n int)
func (*MsgSyncBlob) String ¶
func (m *MsgSyncBlob) String() string
func (*MsgSyncBlob) Type ¶
func (msg *MsgSyncBlob) Type() string
func (*MsgSyncBlob) Unmarshal ¶
func (m *MsgSyncBlob) Unmarshal(dAtA []byte) error
func (*MsgSyncBlob) ValidateBasic ¶
func (msg *MsgSyncBlob) ValidateBasic() error
func (*MsgSyncBlob) XXX_DiscardUnknown ¶
func (m *MsgSyncBlob) XXX_DiscardUnknown()
func (*MsgSyncBlob) XXX_Marshal ¶
func (m *MsgSyncBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSyncBlob) XXX_Merge ¶
func (m *MsgSyncBlob) XXX_Merge(src proto.Message)
func (*MsgSyncBlob) XXX_Size ¶
func (m *MsgSyncBlob) XXX_Size() int
func (*MsgSyncBlob) XXX_Unmarshal ¶
func (m *MsgSyncBlob) XXX_Unmarshal(b []byte) error
type MsgSyncBlobResponse ¶
type MsgSyncBlobResponse struct { }
func (*MsgSyncBlobResponse) Descriptor ¶
func (*MsgSyncBlobResponse) Descriptor() ([]byte, []int)
func (*MsgSyncBlobResponse) Marshal ¶
func (m *MsgSyncBlobResponse) Marshal() (dAtA []byte, err error)
func (*MsgSyncBlobResponse) MarshalTo ¶
func (m *MsgSyncBlobResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSyncBlobResponse) MarshalToSizedBuffer ¶
func (m *MsgSyncBlobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSyncBlobResponse) ProtoMessage ¶
func (*MsgSyncBlobResponse) ProtoMessage()
func (*MsgSyncBlobResponse) Reset ¶
func (m *MsgSyncBlobResponse) Reset()
func (*MsgSyncBlobResponse) Size ¶
func (m *MsgSyncBlobResponse) Size() (n int)
func (*MsgSyncBlobResponse) String ¶
func (m *MsgSyncBlobResponse) String() string
func (*MsgSyncBlobResponse) Unmarshal ¶
func (m *MsgSyncBlobResponse) Unmarshal(dAtA []byte) error
func (*MsgSyncBlobResponse) XXX_DiscardUnknown ¶
func (m *MsgSyncBlobResponse) XXX_DiscardUnknown()
func (*MsgSyncBlobResponse) XXX_Marshal ¶
func (m *MsgSyncBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSyncBlobResponse) XXX_Merge ¶
func (m *MsgSyncBlobResponse) XXX_Merge(src proto.Message)
func (*MsgSyncBlobResponse) XXX_Size ¶
func (m *MsgSyncBlobResponse) XXX_Size() int
func (*MsgSyncBlobResponse) XXX_Unmarshal ¶
func (m *MsgSyncBlobResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateThereIs ¶
type MsgUpdateThereIs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` DocumentJson string `protobuf:"bytes,4,opt,name=documentJson,proto3" json:"documentJson,omitempty"` }
func NewMsgUpdateThereIs ¶
func NewMsgUpdateThereIs( creator string, index string, did string, value string, ) *MsgUpdateThereIs
func (*MsgUpdateThereIs) Descriptor ¶
func (*MsgUpdateThereIs) Descriptor() ([]byte, []int)
func (*MsgUpdateThereIs) GetCreator ¶
func (m *MsgUpdateThereIs) GetCreator() string
func (*MsgUpdateThereIs) GetDid ¶
func (m *MsgUpdateThereIs) GetDid() string
func (*MsgUpdateThereIs) GetDocumentJson ¶
func (m *MsgUpdateThereIs) GetDocumentJson() string
func (*MsgUpdateThereIs) GetIndex ¶
func (m *MsgUpdateThereIs) GetIndex() string
func (*MsgUpdateThereIs) GetSignBytes ¶
func (msg *MsgUpdateThereIs) GetSignBytes() []byte
func (*MsgUpdateThereIs) GetSigners ¶
func (msg *MsgUpdateThereIs) GetSigners() []sdk.AccAddress
func (*MsgUpdateThereIs) Marshal ¶
func (m *MsgUpdateThereIs) Marshal() (dAtA []byte, err error)
func (*MsgUpdateThereIs) MarshalToSizedBuffer ¶
func (m *MsgUpdateThereIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateThereIs) ProtoMessage ¶
func (*MsgUpdateThereIs) ProtoMessage()
func (*MsgUpdateThereIs) Reset ¶
func (m *MsgUpdateThereIs) Reset()
func (*MsgUpdateThereIs) Route ¶
func (msg *MsgUpdateThereIs) Route() string
func (*MsgUpdateThereIs) Size ¶
func (m *MsgUpdateThereIs) Size() (n int)
func (*MsgUpdateThereIs) String ¶
func (m *MsgUpdateThereIs) String() string
func (*MsgUpdateThereIs) Type ¶
func (msg *MsgUpdateThereIs) Type() string
func (*MsgUpdateThereIs) Unmarshal ¶
func (m *MsgUpdateThereIs) Unmarshal(dAtA []byte) error
func (*MsgUpdateThereIs) ValidateBasic ¶
func (msg *MsgUpdateThereIs) ValidateBasic() error
func (*MsgUpdateThereIs) XXX_DiscardUnknown ¶
func (m *MsgUpdateThereIs) XXX_DiscardUnknown()
func (*MsgUpdateThereIs) XXX_Marshal ¶
func (m *MsgUpdateThereIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateThereIs) XXX_Merge ¶
func (m *MsgUpdateThereIs) XXX_Merge(src proto.Message)
func (*MsgUpdateThereIs) XXX_Size ¶
func (m *MsgUpdateThereIs) XXX_Size() int
func (*MsgUpdateThereIs) XXX_Unmarshal ¶
func (m *MsgUpdateThereIs) XXX_Unmarshal(b []byte) error
type MsgUpdateThereIsResponse ¶
type MsgUpdateThereIsResponse struct { }
func (*MsgUpdateThereIsResponse) Descriptor ¶
func (*MsgUpdateThereIsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateThereIsResponse) Marshal ¶
func (m *MsgUpdateThereIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateThereIsResponse) MarshalTo ¶
func (m *MsgUpdateThereIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateThereIsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateThereIsResponse) ProtoMessage ¶
func (*MsgUpdateThereIsResponse) ProtoMessage()
func (*MsgUpdateThereIsResponse) Reset ¶
func (m *MsgUpdateThereIsResponse) Reset()
func (*MsgUpdateThereIsResponse) Size ¶
func (m *MsgUpdateThereIsResponse) Size() (n int)
func (*MsgUpdateThereIsResponse) String ¶
func (m *MsgUpdateThereIsResponse) String() string
func (*MsgUpdateThereIsResponse) Unmarshal ¶
func (m *MsgUpdateThereIsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateThereIsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateThereIsResponse) XXX_DiscardUnknown()
func (*MsgUpdateThereIsResponse) XXX_Marshal ¶
func (m *MsgUpdateThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateThereIsResponse) XXX_Merge ¶
func (m *MsgUpdateThereIsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateThereIsResponse) XXX_Size ¶
func (m *MsgUpdateThereIsResponse) XXX_Size() int
func (*MsgUpdateThereIsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateThereIsResponse) XXX_Unmarshal(b []byte) error
type MsgUploadBlob ¶
type MsgUploadBlob struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` RefDid string `protobuf:"bytes,4,opt,name=refDid,proto3" json:"refDid,omitempty"` Size_ int32 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` LastModified int32 `protobuf:"varint,6,opt,name=lastModified,proto3" json:"lastModified,omitempty"` }
func NewMsgUploadBlob ¶
func (*MsgUploadBlob) Descriptor ¶
func (*MsgUploadBlob) Descriptor() ([]byte, []int)
func (*MsgUploadBlob) GetCreator ¶
func (m *MsgUploadBlob) GetCreator() string
func (*MsgUploadBlob) GetLabel ¶
func (m *MsgUploadBlob) GetLabel() string
func (*MsgUploadBlob) GetLastModified ¶
func (m *MsgUploadBlob) GetLastModified() int32
func (*MsgUploadBlob) GetPath ¶
func (m *MsgUploadBlob) GetPath() string
func (*MsgUploadBlob) GetRefDid ¶
func (m *MsgUploadBlob) GetRefDid() string
func (*MsgUploadBlob) GetSignBytes ¶
func (msg *MsgUploadBlob) GetSignBytes() []byte
func (*MsgUploadBlob) GetSigners ¶
func (msg *MsgUploadBlob) GetSigners() []sdk.AccAddress
func (*MsgUploadBlob) GetSize_ ¶
func (m *MsgUploadBlob) GetSize_() int32
func (*MsgUploadBlob) Marshal ¶
func (m *MsgUploadBlob) Marshal() (dAtA []byte, err error)
func (*MsgUploadBlob) MarshalToSizedBuffer ¶
func (m *MsgUploadBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUploadBlob) ProtoMessage ¶
func (*MsgUploadBlob) ProtoMessage()
func (*MsgUploadBlob) Reset ¶
func (m *MsgUploadBlob) Reset()
func (*MsgUploadBlob) Route ¶
func (msg *MsgUploadBlob) Route() string
func (*MsgUploadBlob) Size ¶
func (m *MsgUploadBlob) Size() (n int)
func (*MsgUploadBlob) String ¶
func (m *MsgUploadBlob) String() string
func (*MsgUploadBlob) Type ¶
func (msg *MsgUploadBlob) Type() string
func (*MsgUploadBlob) Unmarshal ¶
func (m *MsgUploadBlob) Unmarshal(dAtA []byte) error
func (*MsgUploadBlob) ValidateBasic ¶
func (msg *MsgUploadBlob) ValidateBasic() error
func (*MsgUploadBlob) XXX_DiscardUnknown ¶
func (m *MsgUploadBlob) XXX_DiscardUnknown()
func (*MsgUploadBlob) XXX_Marshal ¶
func (m *MsgUploadBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUploadBlob) XXX_Merge ¶
func (m *MsgUploadBlob) XXX_Merge(src proto.Message)
func (*MsgUploadBlob) XXX_Size ¶
func (m *MsgUploadBlob) XXX_Size() int
func (*MsgUploadBlob) XXX_Unmarshal ¶
func (m *MsgUploadBlob) XXX_Unmarshal(b []byte) error
type MsgUploadBlobResponse ¶
type MsgUploadBlobResponse struct { }
func (*MsgUploadBlobResponse) Descriptor ¶
func (*MsgUploadBlobResponse) Descriptor() ([]byte, []int)
func (*MsgUploadBlobResponse) Marshal ¶
func (m *MsgUploadBlobResponse) Marshal() (dAtA []byte, err error)
func (*MsgUploadBlobResponse) MarshalTo ¶
func (m *MsgUploadBlobResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUploadBlobResponse) MarshalToSizedBuffer ¶
func (m *MsgUploadBlobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUploadBlobResponse) ProtoMessage ¶
func (*MsgUploadBlobResponse) ProtoMessage()
func (*MsgUploadBlobResponse) Reset ¶
func (m *MsgUploadBlobResponse) Reset()
func (*MsgUploadBlobResponse) Size ¶
func (m *MsgUploadBlobResponse) Size() (n int)
func (*MsgUploadBlobResponse) String ¶
func (m *MsgUploadBlobResponse) String() string
func (*MsgUploadBlobResponse) Unmarshal ¶
func (m *MsgUploadBlobResponse) Unmarshal(dAtA []byte) error
func (*MsgUploadBlobResponse) XXX_DiscardUnknown ¶
func (m *MsgUploadBlobResponse) XXX_DiscardUnknown()
func (*MsgUploadBlobResponse) XXX_Marshal ¶
func (m *MsgUploadBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUploadBlobResponse) XXX_Merge ¶
func (m *MsgUploadBlobResponse) XXX_Merge(src proto.Message)
func (*MsgUploadBlobResponse) XXX_Size ¶
func (m *MsgUploadBlobResponse) XXX_Size() int
func (*MsgUploadBlobResponse) XXX_Unmarshal ¶
func (m *MsgUploadBlobResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAllThereIsRequest ¶
type QueryAllThereIsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllThereIsRequest) Descriptor ¶
func (*QueryAllThereIsRequest) Descriptor() ([]byte, []int)
func (*QueryAllThereIsRequest) GetPagination ¶
func (m *QueryAllThereIsRequest) GetPagination() *query.PageRequest
func (*QueryAllThereIsRequest) Marshal ¶
func (m *QueryAllThereIsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllThereIsRequest) MarshalTo ¶
func (m *QueryAllThereIsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllThereIsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllThereIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllThereIsRequest) ProtoMessage ¶
func (*QueryAllThereIsRequest) ProtoMessage()
func (*QueryAllThereIsRequest) Reset ¶
func (m *QueryAllThereIsRequest) Reset()
func (*QueryAllThereIsRequest) Size ¶
func (m *QueryAllThereIsRequest) Size() (n int)
func (*QueryAllThereIsRequest) String ¶
func (m *QueryAllThereIsRequest) String() string
func (*QueryAllThereIsRequest) Unmarshal ¶
func (m *QueryAllThereIsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllThereIsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllThereIsRequest) XXX_DiscardUnknown()
func (*QueryAllThereIsRequest) XXX_Marshal ¶
func (m *QueryAllThereIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllThereIsRequest) XXX_Merge ¶
func (m *QueryAllThereIsRequest) XXX_Merge(src proto.Message)
func (*QueryAllThereIsRequest) XXX_Size ¶
func (m *QueryAllThereIsRequest) XXX_Size() int
func (*QueryAllThereIsRequest) XXX_Unmarshal ¶
func (m *QueryAllThereIsRequest) XXX_Unmarshal(b []byte) error
type QueryAllThereIsResponse ¶
type QueryAllThereIsResponse struct { ThereIs []ThereIs `protobuf:"bytes,1,rep,name=thereIs,proto3" json:"thereIs"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllThereIsResponse) Descriptor ¶
func (*QueryAllThereIsResponse) Descriptor() ([]byte, []int)
func (*QueryAllThereIsResponse) GetPagination ¶
func (m *QueryAllThereIsResponse) GetPagination() *query.PageResponse
func (*QueryAllThereIsResponse) GetThereIs ¶
func (m *QueryAllThereIsResponse) GetThereIs() []ThereIs
func (*QueryAllThereIsResponse) Marshal ¶
func (m *QueryAllThereIsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllThereIsResponse) MarshalTo ¶
func (m *QueryAllThereIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllThereIsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllThereIsResponse) ProtoMessage ¶
func (*QueryAllThereIsResponse) ProtoMessage()
func (*QueryAllThereIsResponse) Reset ¶
func (m *QueryAllThereIsResponse) Reset()
func (*QueryAllThereIsResponse) Size ¶
func (m *QueryAllThereIsResponse) Size() (n int)
func (*QueryAllThereIsResponse) String ¶
func (m *QueryAllThereIsResponse) String() string
func (*QueryAllThereIsResponse) Unmarshal ¶
func (m *QueryAllThereIsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllThereIsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllThereIsResponse) XXX_DiscardUnknown()
func (*QueryAllThereIsResponse) XXX_Marshal ¶
func (m *QueryAllThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllThereIsResponse) XXX_Merge ¶
func (m *QueryAllThereIsResponse) XXX_Merge(src proto.Message)
func (*QueryAllThereIsResponse) XXX_Size ¶
func (m *QueryAllThereIsResponse) XXX_Size() int
func (*QueryAllThereIsResponse) XXX_Unmarshal ¶
func (m *QueryAllThereIsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a ThereIs by index. ThereIs(ctx context.Context, in *QueryGetThereIsRequest, opts ...grpc.CallOption) (*QueryGetThereIsResponse, error) // Queries a list of ThereIs items. ThereIsAll(ctx context.Context, in *QueryAllThereIsRequest, opts ...grpc.CallOption) (*QueryAllThereIsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGetThereIsRequest ¶
type QueryGetThereIsRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetThereIsRequest) Descriptor ¶
func (*QueryGetThereIsRequest) Descriptor() ([]byte, []int)
func (*QueryGetThereIsRequest) GetIndex ¶
func (m *QueryGetThereIsRequest) GetIndex() string
func (*QueryGetThereIsRequest) Marshal ¶
func (m *QueryGetThereIsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetThereIsRequest) MarshalTo ¶
func (m *QueryGetThereIsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetThereIsRequest) MarshalToSizedBuffer ¶
func (m *QueryGetThereIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetThereIsRequest) ProtoMessage ¶
func (*QueryGetThereIsRequest) ProtoMessage()
func (*QueryGetThereIsRequest) Reset ¶
func (m *QueryGetThereIsRequest) Reset()
func (*QueryGetThereIsRequest) Size ¶
func (m *QueryGetThereIsRequest) Size() (n int)
func (*QueryGetThereIsRequest) String ¶
func (m *QueryGetThereIsRequest) String() string
func (*QueryGetThereIsRequest) Unmarshal ¶
func (m *QueryGetThereIsRequest) Unmarshal(dAtA []byte) error
func (*QueryGetThereIsRequest) XXX_DiscardUnknown ¶
func (m *QueryGetThereIsRequest) XXX_DiscardUnknown()
func (*QueryGetThereIsRequest) XXX_Marshal ¶
func (m *QueryGetThereIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetThereIsRequest) XXX_Merge ¶
func (m *QueryGetThereIsRequest) XXX_Merge(src proto.Message)
func (*QueryGetThereIsRequest) XXX_Size ¶
func (m *QueryGetThereIsRequest) XXX_Size() int
func (*QueryGetThereIsRequest) XXX_Unmarshal ¶
func (m *QueryGetThereIsRequest) XXX_Unmarshal(b []byte) error
type QueryGetThereIsResponse ¶
type QueryGetThereIsResponse struct {
ThereIs ThereIs `protobuf:"bytes,1,opt,name=thereIs,proto3" json:"thereIs"`
}
func (*QueryGetThereIsResponse) Descriptor ¶
func (*QueryGetThereIsResponse) Descriptor() ([]byte, []int)
func (*QueryGetThereIsResponse) GetThereIs ¶
func (m *QueryGetThereIsResponse) GetThereIs() ThereIs
func (*QueryGetThereIsResponse) Marshal ¶
func (m *QueryGetThereIsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetThereIsResponse) MarshalTo ¶
func (m *QueryGetThereIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetThereIsResponse) MarshalToSizedBuffer ¶
func (m *QueryGetThereIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetThereIsResponse) ProtoMessage ¶
func (*QueryGetThereIsResponse) ProtoMessage()
func (*QueryGetThereIsResponse) Reset ¶
func (m *QueryGetThereIsResponse) Reset()
func (*QueryGetThereIsResponse) Size ¶
func (m *QueryGetThereIsResponse) Size() (n int)
func (*QueryGetThereIsResponse) String ¶
func (m *QueryGetThereIsResponse) String() string
func (*QueryGetThereIsResponse) Unmarshal ¶
func (m *QueryGetThereIsResponse) Unmarshal(dAtA []byte) error
func (*QueryGetThereIsResponse) XXX_DiscardUnknown ¶
func (m *QueryGetThereIsResponse) XXX_DiscardUnknown()
func (*QueryGetThereIsResponse) XXX_Marshal ¶
func (m *QueryGetThereIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetThereIsResponse) XXX_Merge ¶
func (m *QueryGetThereIsResponse) XXX_Merge(src proto.Message)
func (*QueryGetThereIsResponse) XXX_Size ¶
func (m *QueryGetThereIsResponse) XXX_Size() int
func (*QueryGetThereIsResponse) XXX_Unmarshal ¶
func (m *QueryGetThereIsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a ThereIs by index. ThereIs(context.Context, *QueryGetThereIsRequest) (*QueryGetThereIsResponse, error) // Queries a list of ThereIs items. ThereIsAll(context.Context, *QueryAllThereIsRequest) (*QueryAllThereIsResponse, error) }
QueryServer is the server API for Query service.
type ThereIs ¶
type ThereIs struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` // Document is the DID Document of the registered name and account encoded as JSON Document []byte `protobuf:"bytes,3,opt,name=document,proto3" json:"document,omitempty"` Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` }
func (*ThereIs) Descriptor ¶
func (*ThereIs) GetCreator ¶
func (*ThereIs) GetDocument ¶
func (*ThereIs) MarshalToSizedBuffer ¶
func (*ThereIs) ProtoMessage ¶
func (*ThereIs) ProtoMessage()
func (*ThereIs) XXX_DiscardUnknown ¶
func (m *ThereIs) XXX_DiscardUnknown()
func (*ThereIs) XXX_Marshal ¶
func (*ThereIs) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateThereIs ¶
func (*UnimplementedMsgServer) CreateThereIs(ctx context.Context, req *MsgCreateThereIs) (*MsgCreateThereIsResponse, error)
func (*UnimplementedMsgServer) DeleteBlob ¶
func (*UnimplementedMsgServer) DeleteBlob(ctx context.Context, req *MsgDeleteBlob) (*MsgDeleteBlobResponse, error)
func (*UnimplementedMsgServer) DeleteThereIs ¶
func (*UnimplementedMsgServer) DeleteThereIs(ctx context.Context, req *MsgDeleteThereIs) (*MsgDeleteThereIsResponse, error)
func (*UnimplementedMsgServer) DownloadBlob ¶
func (*UnimplementedMsgServer) DownloadBlob(ctx context.Context, req *MsgDownloadBlob) (*MsgDownloadBlobResponse, error)
func (*UnimplementedMsgServer) SyncBlob ¶
func (*UnimplementedMsgServer) SyncBlob(ctx context.Context, req *MsgSyncBlob) (*MsgSyncBlobResponse, error)
func (*UnimplementedMsgServer) UpdateThereIs ¶
func (*UnimplementedMsgServer) UpdateThereIs(ctx context.Context, req *MsgUpdateThereIs) (*MsgUpdateThereIsResponse, error)
func (*UnimplementedMsgServer) UploadBlob ¶
func (*UnimplementedMsgServer) UploadBlob(ctx context.Context, req *MsgUploadBlob) (*MsgUploadBlobResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ThereIs ¶
func (*UnimplementedQueryServer) ThereIs(ctx context.Context, req *QueryGetThereIsRequest) (*QueryGetThereIsResponse, error)
func (*UnimplementedQueryServer) ThereIsAll ¶
func (*UnimplementedQueryServer) ThereIsAll(ctx context.Context, req *QueryAllThereIsRequest) (*QueryAllThereIsResponse, error)