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 WhichIsKey(index string) []byte
- type AccountKeeper
- type BankKeeper
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)
- func (m *Bucket) GetDescription() string
- func (m *Bucket) GetDid() string
- func (m *Bucket) GetLabel() string
- func (m *Bucket) GetObjects() []*types.ObjectDoc
- func (m *Bucket) GetType() BucketType
- func (m *Bucket) Marshal() (dAtA []byte, err error)
- func (m *Bucket) MarshalTo(dAtA []byte) (int, error)
- func (m *Bucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Bucket) ProtoMessage()
- func (m *Bucket) Reset()
- func (m *Bucket) Size() (n int)
- func (m *Bucket) String() string
- func (m *Bucket) Unmarshal(dAtA []byte) error
- func (m *Bucket) XXX_DiscardUnknown()
- func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket) XXX_Merge(src proto.Message)
- func (m *Bucket) XXX_Size() int
- func (m *Bucket) XXX_Unmarshal(b []byte) error
- type BucketEvent
- func (*BucketEvent) Descriptor() ([]byte, []int)
- func (m *BucketEvent) GetMetadata() map[string]string
- func (m *BucketEvent) GetObject() *types.ObjectDoc
- func (m *BucketEvent) GetPeer() *types1.Peer
- func (m *BucketEvent) GetType() BucketEventType
- func (m *BucketEvent) Marshal() (dAtA []byte, err error)
- func (m *BucketEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *BucketEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BucketEvent) ProtoMessage()
- func (m *BucketEvent) Reset()
- func (m *BucketEvent) Size() (n int)
- func (m *BucketEvent) String() string
- func (m *BucketEvent) Unmarshal(dAtA []byte) error
- func (m *BucketEvent) XXX_DiscardUnknown()
- func (m *BucketEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BucketEvent) XXX_Merge(src proto.Message)
- func (m *BucketEvent) XXX_Size() int
- func (m *BucketEvent) XXX_Unmarshal(b []byte) error
- type BucketEventType
- type BucketType
- type CapabilityKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetWhichIsList() []WhichIs
- 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 MsgCreateBucket
- func (*MsgCreateBucket) Descriptor() ([]byte, []int)
- func (m *MsgCreateBucket) GetCreator() string
- func (m *MsgCreateBucket) GetDescription() string
- func (m *MsgCreateBucket) GetKind() string
- func (m *MsgCreateBucket) GetLabel() string
- func (msg *MsgCreateBucket) GetSignBytes() []byte
- func (msg *MsgCreateBucket) GetSigners() []sdk.AccAddress
- func (m *MsgCreateBucket) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBucket) ProtoMessage()
- func (m *MsgCreateBucket) Reset()
- func (msg *MsgCreateBucket) Route() string
- func (m *MsgCreateBucket) Size() (n int)
- func (m *MsgCreateBucket) String() string
- func (msg *MsgCreateBucket) Type() string
- func (m *MsgCreateBucket) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateBucket) ValidateBasic() error
- func (m *MsgCreateBucket) XXX_DiscardUnknown()
- func (m *MsgCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBucket) XXX_Merge(src proto.Message)
- func (m *MsgCreateBucket) XXX_Size() int
- func (m *MsgCreateBucket) XXX_Unmarshal(b []byte) error
- type MsgCreateBucketResponse
- func (*MsgCreateBucketResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateBucketResponse) ProtoMessage()
- func (m *MsgCreateBucketResponse) Reset()
- func (m *MsgCreateBucketResponse) Size() (n int)
- func (m *MsgCreateBucketResponse) String() string
- func (m *MsgCreateBucketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateBucketResponse) XXX_DiscardUnknown()
- func (m *MsgCreateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateBucketResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateBucketResponse) XXX_Size() int
- func (m *MsgCreateBucketResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateWhichIs
- func (*MsgCreateWhichIs) Descriptor() ([]byte, []int)
- func (m *MsgCreateWhichIs) GetCreator() string
- func (m *MsgCreateWhichIs) GetDid() string
- func (m *MsgCreateWhichIs) GetDocumentJson() string
- func (m *MsgCreateWhichIs) GetIndex() string
- func (msg *MsgCreateWhichIs) GetSignBytes() []byte
- func (msg *MsgCreateWhichIs) GetSigners() []sdk.AccAddress
- func (m *MsgCreateWhichIs) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateWhichIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateWhichIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateWhichIs) ProtoMessage()
- func (m *MsgCreateWhichIs) Reset()
- func (msg *MsgCreateWhichIs) Route() string
- func (m *MsgCreateWhichIs) Size() (n int)
- func (m *MsgCreateWhichIs) String() string
- func (msg *MsgCreateWhichIs) Type() string
- func (m *MsgCreateWhichIs) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateWhichIs) ValidateBasic() error
- func (m *MsgCreateWhichIs) XXX_DiscardUnknown()
- func (m *MsgCreateWhichIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateWhichIs) XXX_Merge(src proto.Message)
- func (m *MsgCreateWhichIs) XXX_Size() int
- func (m *MsgCreateWhichIs) XXX_Unmarshal(b []byte) error
- type MsgCreateWhichIsResponse
- func (*MsgCreateWhichIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateWhichIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateWhichIsResponse) ProtoMessage()
- func (m *MsgCreateWhichIsResponse) Reset()
- func (m *MsgCreateWhichIsResponse) Size() (n int)
- func (m *MsgCreateWhichIsResponse) String() string
- func (m *MsgCreateWhichIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateWhichIsResponse) XXX_DiscardUnknown()
- func (m *MsgCreateWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateWhichIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateWhichIsResponse) XXX_Size() int
- func (m *MsgCreateWhichIsResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteBucket
- func (*MsgDeleteBucket) Descriptor() ([]byte, []int)
- func (m *MsgDeleteBucket) GetCreator() string
- func (m *MsgDeleteBucket) GetDid() string
- func (m *MsgDeleteBucket) GetPublicKey() string
- func (msg *MsgDeleteBucket) GetSignBytes() []byte
- func (msg *MsgDeleteBucket) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteBucket) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteBucket) ProtoMessage()
- func (m *MsgDeleteBucket) Reset()
- func (msg *MsgDeleteBucket) Route() string
- func (m *MsgDeleteBucket) Size() (n int)
- func (m *MsgDeleteBucket) String() string
- func (msg *MsgDeleteBucket) Type() string
- func (m *MsgDeleteBucket) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteBucket) ValidateBasic() error
- func (m *MsgDeleteBucket) XXX_DiscardUnknown()
- func (m *MsgDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteBucket) XXX_Merge(src proto.Message)
- func (m *MsgDeleteBucket) XXX_Size() int
- func (m *MsgDeleteBucket) XXX_Unmarshal(b []byte) error
- type MsgDeleteBucketResponse
- func (*MsgDeleteBucketResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteBucketResponse) ProtoMessage()
- func (m *MsgDeleteBucketResponse) Reset()
- func (m *MsgDeleteBucketResponse) Size() (n int)
- func (m *MsgDeleteBucketResponse) String() string
- func (m *MsgDeleteBucketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteBucketResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteBucketResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteBucketResponse) XXX_Size() int
- func (m *MsgDeleteBucketResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteWhichIs
- func (*MsgDeleteWhichIs) Descriptor() ([]byte, []int)
- func (m *MsgDeleteWhichIs) GetCreator() string
- func (m *MsgDeleteWhichIs) GetIndex() string
- func (msg *MsgDeleteWhichIs) GetSignBytes() []byte
- func (msg *MsgDeleteWhichIs) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteWhichIs) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteWhichIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteWhichIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteWhichIs) ProtoMessage()
- func (m *MsgDeleteWhichIs) Reset()
- func (msg *MsgDeleteWhichIs) Route() string
- func (m *MsgDeleteWhichIs) Size() (n int)
- func (m *MsgDeleteWhichIs) String() string
- func (msg *MsgDeleteWhichIs) Type() string
- func (m *MsgDeleteWhichIs) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteWhichIs) ValidateBasic() error
- func (m *MsgDeleteWhichIs) XXX_DiscardUnknown()
- func (m *MsgDeleteWhichIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteWhichIs) XXX_Merge(src proto.Message)
- func (m *MsgDeleteWhichIs) XXX_Size() int
- func (m *MsgDeleteWhichIs) XXX_Unmarshal(b []byte) error
- type MsgDeleteWhichIsResponse
- func (*MsgDeleteWhichIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteWhichIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteWhichIsResponse) ProtoMessage()
- func (m *MsgDeleteWhichIsResponse) Reset()
- func (m *MsgDeleteWhichIsResponse) Size() (n int)
- func (m *MsgDeleteWhichIsResponse) String() string
- func (m *MsgDeleteWhichIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteWhichIsResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteWhichIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteWhichIsResponse) XXX_Size() int
- func (m *MsgDeleteWhichIsResponse) XXX_Unmarshal(b []byte) error
- type MsgReadBucket
- func (*MsgReadBucket) Descriptor() ([]byte, []int)
- func (m *MsgReadBucket) GetCreator() string
- func (m *MsgReadBucket) GetDid() string
- func (msg *MsgReadBucket) GetSignBytes() []byte
- func (msg *MsgReadBucket) GetSigners() []sdk.AccAddress
- func (m *MsgReadBucket) Marshal() (dAtA []byte, err error)
- func (m *MsgReadBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReadBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReadBucket) ProtoMessage()
- func (m *MsgReadBucket) Reset()
- func (msg *MsgReadBucket) Route() string
- func (m *MsgReadBucket) Size() (n int)
- func (m *MsgReadBucket) String() string
- func (msg *MsgReadBucket) Type() string
- func (m *MsgReadBucket) Unmarshal(dAtA []byte) error
- func (msg *MsgReadBucket) ValidateBasic() error
- func (m *MsgReadBucket) XXX_DiscardUnknown()
- func (m *MsgReadBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReadBucket) XXX_Merge(src proto.Message)
- func (m *MsgReadBucket) XXX_Size() int
- func (m *MsgReadBucket) XXX_Unmarshal(b []byte) error
- type MsgReadBucketResponse
- func (*MsgReadBucketResponse) Descriptor() ([]byte, []int)
- func (m *MsgReadBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgReadBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReadBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReadBucketResponse) ProtoMessage()
- func (m *MsgReadBucketResponse) Reset()
- func (m *MsgReadBucketResponse) Size() (n int)
- func (m *MsgReadBucketResponse) String() string
- func (m *MsgReadBucketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgReadBucketResponse) XXX_DiscardUnknown()
- func (m *MsgReadBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReadBucketResponse) XXX_Merge(src proto.Message)
- func (m *MsgReadBucketResponse) XXX_Size() int
- func (m *MsgReadBucketResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateBucket
- func (*MsgUpdateBucket) Descriptor() ([]byte, []int)
- func (m *MsgUpdateBucket) GetCreator() string
- func (m *MsgUpdateBucket) GetDescription() string
- func (m *MsgUpdateBucket) GetDid() string
- func (m *MsgUpdateBucket) GetLabel() string
- func (msg *MsgUpdateBucket) GetSignBytes() []byte
- func (msg *MsgUpdateBucket) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateBucket) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBucket) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBucket) ProtoMessage()
- func (m *MsgUpdateBucket) Reset()
- func (msg *MsgUpdateBucket) Route() string
- func (m *MsgUpdateBucket) Size() (n int)
- func (m *MsgUpdateBucket) String() string
- func (msg *MsgUpdateBucket) Type() string
- func (m *MsgUpdateBucket) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateBucket) ValidateBasic() error
- func (m *MsgUpdateBucket) XXX_DiscardUnknown()
- func (m *MsgUpdateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBucket) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBucket) XXX_Size() int
- func (m *MsgUpdateBucket) XXX_Unmarshal(b []byte) error
- type MsgUpdateBucketResponse
- func (*MsgUpdateBucketResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateBucketResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBucketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBucketResponse) ProtoMessage()
- func (m *MsgUpdateBucketResponse) Reset()
- func (m *MsgUpdateBucketResponse) Size() (n int)
- func (m *MsgUpdateBucketResponse) String() string
- func (m *MsgUpdateBucketResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateBucketResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBucketResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBucketResponse) XXX_Size() int
- func (m *MsgUpdateBucketResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateWhichIs
- func (*MsgUpdateWhichIs) Descriptor() ([]byte, []int)
- func (m *MsgUpdateWhichIs) GetCreator() string
- func (m *MsgUpdateWhichIs) GetDid() string
- func (m *MsgUpdateWhichIs) GetDocumentJson() string
- func (m *MsgUpdateWhichIs) GetIndex() string
- func (msg *MsgUpdateWhichIs) GetSignBytes() []byte
- func (msg *MsgUpdateWhichIs) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateWhichIs) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateWhichIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateWhichIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateWhichIs) ProtoMessage()
- func (m *MsgUpdateWhichIs) Reset()
- func (msg *MsgUpdateWhichIs) Route() string
- func (m *MsgUpdateWhichIs) Size() (n int)
- func (m *MsgUpdateWhichIs) String() string
- func (msg *MsgUpdateWhichIs) Type() string
- func (m *MsgUpdateWhichIs) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateWhichIs) ValidateBasic() error
- func (m *MsgUpdateWhichIs) XXX_DiscardUnknown()
- func (m *MsgUpdateWhichIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateWhichIs) XXX_Merge(src proto.Message)
- func (m *MsgUpdateWhichIs) XXX_Size() int
- func (m *MsgUpdateWhichIs) XXX_Unmarshal(b []byte) error
- type MsgUpdateWhichIsResponse
- func (*MsgUpdateWhichIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateWhichIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateWhichIsResponse) ProtoMessage()
- func (m *MsgUpdateWhichIsResponse) Reset()
- func (m *MsgUpdateWhichIsResponse) Size() (n int)
- func (m *MsgUpdateWhichIsResponse) String() string
- func (m *MsgUpdateWhichIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateWhichIsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateWhichIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateWhichIsResponse) XXX_Size() int
- func (m *MsgUpdateWhichIsResponse) 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 QueryAllWhichIsRequest
- func (*QueryAllWhichIsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllWhichIsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllWhichIsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllWhichIsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllWhichIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllWhichIsRequest) ProtoMessage()
- func (m *QueryAllWhichIsRequest) Reset()
- func (m *QueryAllWhichIsRequest) Size() (n int)
- func (m *QueryAllWhichIsRequest) String() string
- func (m *QueryAllWhichIsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllWhichIsRequest) XXX_DiscardUnknown()
- func (m *QueryAllWhichIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllWhichIsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllWhichIsRequest) XXX_Size() int
- func (m *QueryAllWhichIsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllWhichIsResponse
- func (*QueryAllWhichIsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllWhichIsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllWhichIsResponse) GetWhichIs() []WhichIs
- func (m *QueryAllWhichIsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllWhichIsResponse) ProtoMessage()
- func (m *QueryAllWhichIsResponse) Reset()
- func (m *QueryAllWhichIsResponse) Size() (n int)
- func (m *QueryAllWhichIsResponse) String() string
- func (m *QueryAllWhichIsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllWhichIsResponse) XXX_DiscardUnknown()
- func (m *QueryAllWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllWhichIsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllWhichIsResponse) XXX_Size() int
- func (m *QueryAllWhichIsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetWhichIsRequest
- func (*QueryGetWhichIsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetWhichIsRequest) GetIndex() string
- func (m *QueryGetWhichIsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetWhichIsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetWhichIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetWhichIsRequest) ProtoMessage()
- func (m *QueryGetWhichIsRequest) Reset()
- func (m *QueryGetWhichIsRequest) Size() (n int)
- func (m *QueryGetWhichIsRequest) String() string
- func (m *QueryGetWhichIsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetWhichIsRequest) XXX_DiscardUnknown()
- func (m *QueryGetWhichIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetWhichIsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetWhichIsRequest) XXX_Size() int
- func (m *QueryGetWhichIsRequest) XXX_Unmarshal(b []byte) error
- type QueryGetWhichIsResponse
- func (*QueryGetWhichIsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetWhichIsResponse) GetWhichIs() WhichIs
- func (m *QueryGetWhichIsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetWhichIsResponse) ProtoMessage()
- func (m *QueryGetWhichIsResponse) Reset()
- func (m *QueryGetWhichIsResponse) Size() (n int)
- func (m *QueryGetWhichIsResponse) String() string
- func (m *QueryGetWhichIsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetWhichIsResponse) XXX_DiscardUnknown()
- func (m *QueryGetWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetWhichIsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetWhichIsResponse) XXX_Size() int
- func (m *QueryGetWhichIsResponse) 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 UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateBucket(ctx context.Context, req *MsgCreateBucket) (*MsgCreateBucketResponse, error)
- func (*UnimplementedMsgServer) CreateWhichIs(ctx context.Context, req *MsgCreateWhichIs) (*MsgCreateWhichIsResponse, error)
- func (*UnimplementedMsgServer) DeleteBucket(ctx context.Context, req *MsgDeleteBucket) (*MsgDeleteBucketResponse, error)
- func (*UnimplementedMsgServer) DeleteWhichIs(ctx context.Context, req *MsgDeleteWhichIs) (*MsgDeleteWhichIsResponse, error)
- func (*UnimplementedMsgServer) ReadBucket(ctx context.Context, req *MsgReadBucket) (*MsgReadBucketResponse, error)
- func (*UnimplementedMsgServer) UpdateBucket(ctx context.Context, req *MsgUpdateBucket) (*MsgUpdateBucketResponse, error)
- func (*UnimplementedMsgServer) UpdateWhichIs(ctx context.Context, req *MsgUpdateWhichIs) (*MsgUpdateWhichIsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) WhichIs(ctx context.Context, req *QueryGetWhichIsRequest) (*QueryGetWhichIsResponse, error)
- func (*UnimplementedQueryServer) WhichIsAll(ctx context.Context, req *QueryAllWhichIsRequest) (*QueryAllWhichIsResponse, error)
- type WhichIs
- func (*WhichIs) Descriptor() ([]byte, []int)
- func (m *WhichIs) GetCreator() string
- func (m *WhichIs) GetDid() string
- func (m *WhichIs) GetDocument() []byte
- func (m *WhichIs) GetIndex() string
- func (m *WhichIs) Marshal() (dAtA []byte, err error)
- func (m *WhichIs) MarshalTo(dAtA []byte) (int, error)
- func (m *WhichIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhichIs) ProtoMessage()
- func (m *WhichIs) Reset()
- func (m *WhichIs) Size() (n int)
- func (m *WhichIs) String() string
- func (m *WhichIs) Unmarshal(dAtA []byte) error
- func (m *WhichIs) XXX_DiscardUnknown()
- func (m *WhichIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhichIs) XXX_Merge(src proto.Message)
- func (m *WhichIs) XXX_Size() int
- func (m *WhichIs) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name ModuleName = "bucket" // 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_bucket" )
const ( TypeMsgCreateWhichIs = "create_which_is" TypeMsgUpdateWhichIs = "update_which_is" TypeMsgDeleteWhichIs = "delete_which_is" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgCreateBucket = "create_bucket"
const TypeMsgDeleteBucket = "delete_bucket"
const TypeMsgReadBucket = "read_bucket"
const TypeMsgUpdateBucket = "update_bucket"
const (
// WhichIsKeyPrefix is the prefix to retrieve all WhichIs
WhichIsKeyPrefix = "WhichIs/value/"
)
Variables ¶
var ( ErrInvalidLengthBucket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBucket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBucket = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthWhichIs = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWhichIs = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupWhichIs = fmt.Errorf("proto: unexpected end of group") )
var BucketEventType_name = map[int32]string{
0: "BUCKET_EVENT_TYPE_UNSPECIFIED",
1: "BUCKET_EVENT_TYPE_GET",
2: "BUCKET_EVENT_TYPE_SET",
3: "BUCKET_EVENT_TYPE_DELETE",
}
var BucketEventType_value = map[string]int32{
"BUCKET_EVENT_TYPE_UNSPECIFIED": 0,
"BUCKET_EVENT_TYPE_GET": 1,
"BUCKET_EVENT_TYPE_SET": 2,
"BUCKET_EVENT_TYPE_DELETE": 3,
}
var BucketType_name = map[int32]string{
0: "BUCKET_TYPE_UNSPECIFIED",
1: "BUCKET_TYPE_APP",
2: "BUCKET_TYPE_USER",
}
var BucketType_value = map[string]int32{
"BUCKET_TYPE_UNSPECIFIED": 0,
"BUCKET_TYPE_APP": 1,
"BUCKET_TYPE_USER": 2,
}
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/bucket 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 WhichIsKey ¶
WhichIsKey returns the store key to retrieve a WhichIs 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 Bucket ¶
type Bucket struct { // Label is human-readable name of the bucket. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Description is a human-readable description of the bucket. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Type is the kind of bucket for either App specific or User specific data. Type BucketType `protobuf:"varint,3,opt,name=type,proto3,enum=sonrio.sonr.bucket.BucketType" json:"type,omitempty"` // Did is the identifier of the bucket. Did string `protobuf:"bytes,4,opt,name=did,proto3" json:"did,omitempty"` // Objects are stored in a tree structure. Objects []*types.ObjectDoc `protobuf:"bytes,5,rep,name=objects,proto3" json:"objects,omitempty"` }
Bucket is a collection of objects.
func (*Bucket) Descriptor ¶
func (*Bucket) GetDescription ¶
func (*Bucket) GetObjects ¶
func (*Bucket) GetType ¶
func (m *Bucket) GetType() BucketType
func (*Bucket) MarshalToSizedBuffer ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) XXX_DiscardUnknown ¶
func (m *Bucket) XXX_DiscardUnknown()
func (*Bucket) XXX_Marshal ¶
func (*Bucket) XXX_Unmarshal ¶
type BucketEvent ¶
type BucketEvent struct { // Owner is the peer that originated the event. Peer *types1.Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` // Type is the type of event being performed on a Bucket. Type BucketEventType `protobuf:"varint,2,opt,name=type,proto3,enum=sonrio.sonr.bucket.BucketEventType" json:"type,omitempty"` // Object is the entry being modified in the Bucket. Object *types.ObjectDoc `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // Metadata is the metadata associated with the event. Metadata map[string]string `` /* 157-byte string literal not displayed */ }
BucketEvent is the base event type for all Bucket events.
func (*BucketEvent) Descriptor ¶
func (*BucketEvent) Descriptor() ([]byte, []int)
func (*BucketEvent) GetMetadata ¶
func (m *BucketEvent) GetMetadata() map[string]string
func (*BucketEvent) GetObject ¶
func (m *BucketEvent) GetObject() *types.ObjectDoc
func (*BucketEvent) GetPeer ¶
func (m *BucketEvent) GetPeer() *types1.Peer
func (*BucketEvent) GetType ¶
func (m *BucketEvent) GetType() BucketEventType
func (*BucketEvent) Marshal ¶
func (m *BucketEvent) Marshal() (dAtA []byte, err error)
func (*BucketEvent) MarshalToSizedBuffer ¶
func (m *BucketEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BucketEvent) ProtoMessage ¶
func (*BucketEvent) ProtoMessage()
func (*BucketEvent) Reset ¶
func (m *BucketEvent) Reset()
func (*BucketEvent) Size ¶
func (m *BucketEvent) Size() (n int)
func (*BucketEvent) String ¶
func (m *BucketEvent) String() string
func (*BucketEvent) Unmarshal ¶
func (m *BucketEvent) Unmarshal(dAtA []byte) error
func (*BucketEvent) XXX_DiscardUnknown ¶
func (m *BucketEvent) XXX_DiscardUnknown()
func (*BucketEvent) XXX_Marshal ¶
func (m *BucketEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BucketEvent) XXX_Merge ¶
func (m *BucketEvent) XXX_Merge(src proto.Message)
func (*BucketEvent) XXX_Size ¶
func (m *BucketEvent) XXX_Size() int
func (*BucketEvent) XXX_Unmarshal ¶
func (m *BucketEvent) XXX_Unmarshal(b []byte) error
type BucketEventType ¶
type BucketEventType int32
EventType is the type of event being performed on a Bucket.
const ( // EventTypeUnspecified is the default value. BucketEventType_BUCKET_EVENT_TYPE_UNSPECIFIED BucketEventType = 0 // EventTypeGet is a get event being performed on a Bucket record. BucketEventType_BUCKET_EVENT_TYPE_GET BucketEventType = 1 // EventTypeSet is a set event on the Bucket store. BucketEventType_BUCKET_EVENT_TYPE_SET BucketEventType = 2 // EventTypeDelete is a delete event on the Bucket store. BucketEventType_BUCKET_EVENT_TYPE_DELETE BucketEventType = 3 )
func (BucketEventType) EnumDescriptor ¶
func (BucketEventType) EnumDescriptor() ([]byte, []int)
func (BucketEventType) String ¶
func (x BucketEventType) String() string
type BucketType ¶
type BucketType int32
BucketType is the type of a bucket.
const ( // BucketTypeUnspecified is the default value. BucketType_BUCKET_TYPE_UNSPECIFIED BucketType = 0 // BucketTypeApp is an App specific bucket. For Assets regarding the service. BucketType_BUCKET_TYPE_APP BucketType = 1 // BucketTypeUser is a User specific bucket. For any remote user data that is required // to be stored in the Network. BucketType_BUCKET_TYPE_USER BucketType = 2 )
func (BucketType) EnumDescriptor ¶
func (BucketType) EnumDescriptor() ([]byte, []int)
func (BucketType) String ¶
func (x BucketType) String() string
type CapabilityKeeper ¶
type CapabilityKeeper interface { }
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` WhichIsList []WhichIs `protobuf:"bytes,2,rep,name=whichIsList,proto3" json:"whichIsList"` }
GenesisState defines the bucket 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) GetWhichIsList ¶
func (m *GenesisState) GetWhichIsList() []WhichIs
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 { CreateBucket(ctx context.Context, in *MsgCreateBucket, opts ...grpc.CallOption) (*MsgCreateBucketResponse, error) ReadBucket(ctx context.Context, in *MsgReadBucket, opts ...grpc.CallOption) (*MsgReadBucketResponse, error) UpdateBucket(ctx context.Context, in *MsgUpdateBucket, opts ...grpc.CallOption) (*MsgUpdateBucketResponse, error) DeleteBucket(ctx context.Context, in *MsgDeleteBucket, opts ...grpc.CallOption) (*MsgDeleteBucketResponse, error) CreateWhichIs(ctx context.Context, in *MsgCreateWhichIs, opts ...grpc.CallOption) (*MsgCreateWhichIsResponse, error) UpdateWhichIs(ctx context.Context, in *MsgUpdateWhichIs, opts ...grpc.CallOption) (*MsgUpdateWhichIsResponse, error) DeleteWhichIs(ctx context.Context, in *MsgDeleteWhichIs, opts ...grpc.CallOption) (*MsgDeleteWhichIsResponse, 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 MsgCreateBucket ¶
type MsgCreateBucket 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"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"` }
func NewMsgCreateBucket ¶
func NewMsgCreateBucket(creator string, label string, description string, kind string) *MsgCreateBucket
func (*MsgCreateBucket) Descriptor ¶
func (*MsgCreateBucket) Descriptor() ([]byte, []int)
func (*MsgCreateBucket) GetCreator ¶
func (m *MsgCreateBucket) GetCreator() string
func (*MsgCreateBucket) GetDescription ¶
func (m *MsgCreateBucket) GetDescription() string
func (*MsgCreateBucket) GetKind ¶
func (m *MsgCreateBucket) GetKind() string
func (*MsgCreateBucket) GetLabel ¶
func (m *MsgCreateBucket) GetLabel() string
func (*MsgCreateBucket) GetSignBytes ¶
func (msg *MsgCreateBucket) GetSignBytes() []byte
func (*MsgCreateBucket) GetSigners ¶
func (msg *MsgCreateBucket) GetSigners() []sdk.AccAddress
func (*MsgCreateBucket) Marshal ¶
func (m *MsgCreateBucket) Marshal() (dAtA []byte, err error)
func (*MsgCreateBucket) MarshalToSizedBuffer ¶
func (m *MsgCreateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBucket) ProtoMessage ¶
func (*MsgCreateBucket) ProtoMessage()
func (*MsgCreateBucket) Reset ¶
func (m *MsgCreateBucket) Reset()
func (*MsgCreateBucket) Route ¶
func (msg *MsgCreateBucket) Route() string
func (*MsgCreateBucket) Size ¶
func (m *MsgCreateBucket) Size() (n int)
func (*MsgCreateBucket) String ¶
func (m *MsgCreateBucket) String() string
func (*MsgCreateBucket) Type ¶
func (msg *MsgCreateBucket) Type() string
func (*MsgCreateBucket) Unmarshal ¶
func (m *MsgCreateBucket) Unmarshal(dAtA []byte) error
func (*MsgCreateBucket) ValidateBasic ¶
func (msg *MsgCreateBucket) ValidateBasic() error
func (*MsgCreateBucket) XXX_DiscardUnknown ¶
func (m *MsgCreateBucket) XXX_DiscardUnknown()
func (*MsgCreateBucket) XXX_Marshal ¶
func (m *MsgCreateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBucket) XXX_Merge ¶
func (m *MsgCreateBucket) XXX_Merge(src proto.Message)
func (*MsgCreateBucket) XXX_Size ¶
func (m *MsgCreateBucket) XXX_Size() int
func (*MsgCreateBucket) XXX_Unmarshal ¶
func (m *MsgCreateBucket) XXX_Unmarshal(b []byte) error
type MsgCreateBucketResponse ¶
type MsgCreateBucketResponse struct { }
func (*MsgCreateBucketResponse) Descriptor ¶
func (*MsgCreateBucketResponse) Descriptor() ([]byte, []int)
func (*MsgCreateBucketResponse) Marshal ¶
func (m *MsgCreateBucketResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateBucketResponse) MarshalTo ¶
func (m *MsgCreateBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateBucketResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateBucketResponse) ProtoMessage ¶
func (*MsgCreateBucketResponse) ProtoMessage()
func (*MsgCreateBucketResponse) Reset ¶
func (m *MsgCreateBucketResponse) Reset()
func (*MsgCreateBucketResponse) Size ¶
func (m *MsgCreateBucketResponse) Size() (n int)
func (*MsgCreateBucketResponse) String ¶
func (m *MsgCreateBucketResponse) String() string
func (*MsgCreateBucketResponse) Unmarshal ¶
func (m *MsgCreateBucketResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateBucketResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateBucketResponse) XXX_DiscardUnknown()
func (*MsgCreateBucketResponse) XXX_Marshal ¶
func (m *MsgCreateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateBucketResponse) XXX_Merge ¶
func (m *MsgCreateBucketResponse) XXX_Merge(src proto.Message)
func (*MsgCreateBucketResponse) XXX_Size ¶
func (m *MsgCreateBucketResponse) XXX_Size() int
func (*MsgCreateBucketResponse) XXX_Unmarshal ¶
func (m *MsgCreateBucketResponse) XXX_Unmarshal(b []byte) error
type MsgCreateWhichIs ¶
type MsgCreateWhichIs 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 NewMsgCreateWhichIs ¶
func NewMsgCreateWhichIs( creator string, index string, did string, value string, ) *MsgCreateWhichIs
func (*MsgCreateWhichIs) Descriptor ¶
func (*MsgCreateWhichIs) Descriptor() ([]byte, []int)
func (*MsgCreateWhichIs) GetCreator ¶
func (m *MsgCreateWhichIs) GetCreator() string
func (*MsgCreateWhichIs) GetDid ¶
func (m *MsgCreateWhichIs) GetDid() string
func (*MsgCreateWhichIs) GetDocumentJson ¶
func (m *MsgCreateWhichIs) GetDocumentJson() string
func (*MsgCreateWhichIs) GetIndex ¶
func (m *MsgCreateWhichIs) GetIndex() string
func (*MsgCreateWhichIs) GetSignBytes ¶
func (msg *MsgCreateWhichIs) GetSignBytes() []byte
func (*MsgCreateWhichIs) GetSigners ¶
func (msg *MsgCreateWhichIs) GetSigners() []sdk.AccAddress
func (*MsgCreateWhichIs) Marshal ¶
func (m *MsgCreateWhichIs) Marshal() (dAtA []byte, err error)
func (*MsgCreateWhichIs) MarshalToSizedBuffer ¶
func (m *MsgCreateWhichIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateWhichIs) ProtoMessage ¶
func (*MsgCreateWhichIs) ProtoMessage()
func (*MsgCreateWhichIs) Reset ¶
func (m *MsgCreateWhichIs) Reset()
func (*MsgCreateWhichIs) Route ¶
func (msg *MsgCreateWhichIs) Route() string
func (*MsgCreateWhichIs) Size ¶
func (m *MsgCreateWhichIs) Size() (n int)
func (*MsgCreateWhichIs) String ¶
func (m *MsgCreateWhichIs) String() string
func (*MsgCreateWhichIs) Type ¶
func (msg *MsgCreateWhichIs) Type() string
func (*MsgCreateWhichIs) Unmarshal ¶
func (m *MsgCreateWhichIs) Unmarshal(dAtA []byte) error
func (*MsgCreateWhichIs) ValidateBasic ¶
func (msg *MsgCreateWhichIs) ValidateBasic() error
func (*MsgCreateWhichIs) XXX_DiscardUnknown ¶
func (m *MsgCreateWhichIs) XXX_DiscardUnknown()
func (*MsgCreateWhichIs) XXX_Marshal ¶
func (m *MsgCreateWhichIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateWhichIs) XXX_Merge ¶
func (m *MsgCreateWhichIs) XXX_Merge(src proto.Message)
func (*MsgCreateWhichIs) XXX_Size ¶
func (m *MsgCreateWhichIs) XXX_Size() int
func (*MsgCreateWhichIs) XXX_Unmarshal ¶
func (m *MsgCreateWhichIs) XXX_Unmarshal(b []byte) error
type MsgCreateWhichIsResponse ¶
type MsgCreateWhichIsResponse struct { }
func (*MsgCreateWhichIsResponse) Descriptor ¶
func (*MsgCreateWhichIsResponse) Descriptor() ([]byte, []int)
func (*MsgCreateWhichIsResponse) Marshal ¶
func (m *MsgCreateWhichIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateWhichIsResponse) MarshalTo ¶
func (m *MsgCreateWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateWhichIsResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateWhichIsResponse) ProtoMessage ¶
func (*MsgCreateWhichIsResponse) ProtoMessage()
func (*MsgCreateWhichIsResponse) Reset ¶
func (m *MsgCreateWhichIsResponse) Reset()
func (*MsgCreateWhichIsResponse) Size ¶
func (m *MsgCreateWhichIsResponse) Size() (n int)
func (*MsgCreateWhichIsResponse) String ¶
func (m *MsgCreateWhichIsResponse) String() string
func (*MsgCreateWhichIsResponse) Unmarshal ¶
func (m *MsgCreateWhichIsResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateWhichIsResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateWhichIsResponse) XXX_DiscardUnknown()
func (*MsgCreateWhichIsResponse) XXX_Marshal ¶
func (m *MsgCreateWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateWhichIsResponse) XXX_Merge ¶
func (m *MsgCreateWhichIsResponse) XXX_Merge(src proto.Message)
func (*MsgCreateWhichIsResponse) XXX_Size ¶
func (m *MsgCreateWhichIsResponse) XXX_Size() int
func (*MsgCreateWhichIsResponse) XXX_Unmarshal ¶
func (m *MsgCreateWhichIsResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteBucket ¶
type MsgDeleteBucket 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 NewMsgDeleteBucket ¶
func NewMsgDeleteBucket(creator string, did string, publicKey string) *MsgDeleteBucket
func (*MsgDeleteBucket) Descriptor ¶
func (*MsgDeleteBucket) Descriptor() ([]byte, []int)
func (*MsgDeleteBucket) GetCreator ¶
func (m *MsgDeleteBucket) GetCreator() string
func (*MsgDeleteBucket) GetDid ¶
func (m *MsgDeleteBucket) GetDid() string
func (*MsgDeleteBucket) GetPublicKey ¶
func (m *MsgDeleteBucket) GetPublicKey() string
func (*MsgDeleteBucket) GetSignBytes ¶
func (msg *MsgDeleteBucket) GetSignBytes() []byte
func (*MsgDeleteBucket) GetSigners ¶
func (msg *MsgDeleteBucket) GetSigners() []sdk.AccAddress
func (*MsgDeleteBucket) Marshal ¶
func (m *MsgDeleteBucket) Marshal() (dAtA []byte, err error)
func (*MsgDeleteBucket) MarshalToSizedBuffer ¶
func (m *MsgDeleteBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteBucket) ProtoMessage ¶
func (*MsgDeleteBucket) ProtoMessage()
func (*MsgDeleteBucket) Reset ¶
func (m *MsgDeleteBucket) Reset()
func (*MsgDeleteBucket) Route ¶
func (msg *MsgDeleteBucket) Route() string
func (*MsgDeleteBucket) Size ¶
func (m *MsgDeleteBucket) Size() (n int)
func (*MsgDeleteBucket) String ¶
func (m *MsgDeleteBucket) String() string
func (*MsgDeleteBucket) Type ¶
func (msg *MsgDeleteBucket) Type() string
func (*MsgDeleteBucket) Unmarshal ¶
func (m *MsgDeleteBucket) Unmarshal(dAtA []byte) error
func (*MsgDeleteBucket) ValidateBasic ¶
func (msg *MsgDeleteBucket) ValidateBasic() error
func (*MsgDeleteBucket) XXX_DiscardUnknown ¶
func (m *MsgDeleteBucket) XXX_DiscardUnknown()
func (*MsgDeleteBucket) XXX_Marshal ¶
func (m *MsgDeleteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteBucket) XXX_Merge ¶
func (m *MsgDeleteBucket) XXX_Merge(src proto.Message)
func (*MsgDeleteBucket) XXX_Size ¶
func (m *MsgDeleteBucket) XXX_Size() int
func (*MsgDeleteBucket) XXX_Unmarshal ¶
func (m *MsgDeleteBucket) XXX_Unmarshal(b []byte) error
type MsgDeleteBucketResponse ¶
type MsgDeleteBucketResponse struct { }
func (*MsgDeleteBucketResponse) Descriptor ¶
func (*MsgDeleteBucketResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteBucketResponse) Marshal ¶
func (m *MsgDeleteBucketResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteBucketResponse) MarshalTo ¶
func (m *MsgDeleteBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteBucketResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteBucketResponse) ProtoMessage ¶
func (*MsgDeleteBucketResponse) ProtoMessage()
func (*MsgDeleteBucketResponse) Reset ¶
func (m *MsgDeleteBucketResponse) Reset()
func (*MsgDeleteBucketResponse) Size ¶
func (m *MsgDeleteBucketResponse) Size() (n int)
func (*MsgDeleteBucketResponse) String ¶
func (m *MsgDeleteBucketResponse) String() string
func (*MsgDeleteBucketResponse) Unmarshal ¶
func (m *MsgDeleteBucketResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteBucketResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteBucketResponse) XXX_DiscardUnknown()
func (*MsgDeleteBucketResponse) XXX_Marshal ¶
func (m *MsgDeleteBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteBucketResponse) XXX_Merge ¶
func (m *MsgDeleteBucketResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteBucketResponse) XXX_Size ¶
func (m *MsgDeleteBucketResponse) XXX_Size() int
func (*MsgDeleteBucketResponse) XXX_Unmarshal ¶
func (m *MsgDeleteBucketResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteWhichIs ¶
type MsgDeleteWhichIs 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 NewMsgDeleteWhichIs ¶
func NewMsgDeleteWhichIs( creator string, index string, ) *MsgDeleteWhichIs
func (*MsgDeleteWhichIs) Descriptor ¶
func (*MsgDeleteWhichIs) Descriptor() ([]byte, []int)
func (*MsgDeleteWhichIs) GetCreator ¶
func (m *MsgDeleteWhichIs) GetCreator() string
func (*MsgDeleteWhichIs) GetIndex ¶
func (m *MsgDeleteWhichIs) GetIndex() string
func (*MsgDeleteWhichIs) GetSignBytes ¶
func (msg *MsgDeleteWhichIs) GetSignBytes() []byte
func (*MsgDeleteWhichIs) GetSigners ¶
func (msg *MsgDeleteWhichIs) GetSigners() []sdk.AccAddress
func (*MsgDeleteWhichIs) Marshal ¶
func (m *MsgDeleteWhichIs) Marshal() (dAtA []byte, err error)
func (*MsgDeleteWhichIs) MarshalToSizedBuffer ¶
func (m *MsgDeleteWhichIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteWhichIs) ProtoMessage ¶
func (*MsgDeleteWhichIs) ProtoMessage()
func (*MsgDeleteWhichIs) Reset ¶
func (m *MsgDeleteWhichIs) Reset()
func (*MsgDeleteWhichIs) Route ¶
func (msg *MsgDeleteWhichIs) Route() string
func (*MsgDeleteWhichIs) Size ¶
func (m *MsgDeleteWhichIs) Size() (n int)
func (*MsgDeleteWhichIs) String ¶
func (m *MsgDeleteWhichIs) String() string
func (*MsgDeleteWhichIs) Type ¶
func (msg *MsgDeleteWhichIs) Type() string
func (*MsgDeleteWhichIs) Unmarshal ¶
func (m *MsgDeleteWhichIs) Unmarshal(dAtA []byte) error
func (*MsgDeleteWhichIs) ValidateBasic ¶
func (msg *MsgDeleteWhichIs) ValidateBasic() error
func (*MsgDeleteWhichIs) XXX_DiscardUnknown ¶
func (m *MsgDeleteWhichIs) XXX_DiscardUnknown()
func (*MsgDeleteWhichIs) XXX_Marshal ¶
func (m *MsgDeleteWhichIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteWhichIs) XXX_Merge ¶
func (m *MsgDeleteWhichIs) XXX_Merge(src proto.Message)
func (*MsgDeleteWhichIs) XXX_Size ¶
func (m *MsgDeleteWhichIs) XXX_Size() int
func (*MsgDeleteWhichIs) XXX_Unmarshal ¶
func (m *MsgDeleteWhichIs) XXX_Unmarshal(b []byte) error
type MsgDeleteWhichIsResponse ¶
type MsgDeleteWhichIsResponse struct { }
func (*MsgDeleteWhichIsResponse) Descriptor ¶
func (*MsgDeleteWhichIsResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteWhichIsResponse) Marshal ¶
func (m *MsgDeleteWhichIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteWhichIsResponse) MarshalTo ¶
func (m *MsgDeleteWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteWhichIsResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteWhichIsResponse) ProtoMessage ¶
func (*MsgDeleteWhichIsResponse) ProtoMessage()
func (*MsgDeleteWhichIsResponse) Reset ¶
func (m *MsgDeleteWhichIsResponse) Reset()
func (*MsgDeleteWhichIsResponse) Size ¶
func (m *MsgDeleteWhichIsResponse) Size() (n int)
func (*MsgDeleteWhichIsResponse) String ¶
func (m *MsgDeleteWhichIsResponse) String() string
func (*MsgDeleteWhichIsResponse) Unmarshal ¶
func (m *MsgDeleteWhichIsResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteWhichIsResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteWhichIsResponse) XXX_DiscardUnknown()
func (*MsgDeleteWhichIsResponse) XXX_Marshal ¶
func (m *MsgDeleteWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteWhichIsResponse) XXX_Merge ¶
func (m *MsgDeleteWhichIsResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteWhichIsResponse) XXX_Size ¶
func (m *MsgDeleteWhichIsResponse) XXX_Size() int
func (*MsgDeleteWhichIsResponse) XXX_Unmarshal ¶
func (m *MsgDeleteWhichIsResponse) XXX_Unmarshal(b []byte) error
type MsgReadBucket ¶
type MsgReadBucket 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"` }
func NewMsgReadBucket ¶
func NewMsgReadBucket(creator string, did string) *MsgReadBucket
func (*MsgReadBucket) Descriptor ¶
func (*MsgReadBucket) Descriptor() ([]byte, []int)
func (*MsgReadBucket) GetCreator ¶
func (m *MsgReadBucket) GetCreator() string
func (*MsgReadBucket) GetDid ¶
func (m *MsgReadBucket) GetDid() string
func (*MsgReadBucket) GetSignBytes ¶
func (msg *MsgReadBucket) GetSignBytes() []byte
func (*MsgReadBucket) GetSigners ¶
func (msg *MsgReadBucket) GetSigners() []sdk.AccAddress
func (*MsgReadBucket) Marshal ¶
func (m *MsgReadBucket) Marshal() (dAtA []byte, err error)
func (*MsgReadBucket) MarshalToSizedBuffer ¶
func (m *MsgReadBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReadBucket) ProtoMessage ¶
func (*MsgReadBucket) ProtoMessage()
func (*MsgReadBucket) Reset ¶
func (m *MsgReadBucket) Reset()
func (*MsgReadBucket) Route ¶
func (msg *MsgReadBucket) Route() string
func (*MsgReadBucket) Size ¶
func (m *MsgReadBucket) Size() (n int)
func (*MsgReadBucket) String ¶
func (m *MsgReadBucket) String() string
func (*MsgReadBucket) Type ¶
func (msg *MsgReadBucket) Type() string
func (*MsgReadBucket) Unmarshal ¶
func (m *MsgReadBucket) Unmarshal(dAtA []byte) error
func (*MsgReadBucket) ValidateBasic ¶
func (msg *MsgReadBucket) ValidateBasic() error
func (*MsgReadBucket) XXX_DiscardUnknown ¶
func (m *MsgReadBucket) XXX_DiscardUnknown()
func (*MsgReadBucket) XXX_Marshal ¶
func (m *MsgReadBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReadBucket) XXX_Merge ¶
func (m *MsgReadBucket) XXX_Merge(src proto.Message)
func (*MsgReadBucket) XXX_Size ¶
func (m *MsgReadBucket) XXX_Size() int
func (*MsgReadBucket) XXX_Unmarshal ¶
func (m *MsgReadBucket) XXX_Unmarshal(b []byte) error
type MsgReadBucketResponse ¶
type MsgReadBucketResponse struct { }
func (*MsgReadBucketResponse) Descriptor ¶
func (*MsgReadBucketResponse) Descriptor() ([]byte, []int)
func (*MsgReadBucketResponse) Marshal ¶
func (m *MsgReadBucketResponse) Marshal() (dAtA []byte, err error)
func (*MsgReadBucketResponse) MarshalTo ¶
func (m *MsgReadBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgReadBucketResponse) MarshalToSizedBuffer ¶
func (m *MsgReadBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReadBucketResponse) ProtoMessage ¶
func (*MsgReadBucketResponse) ProtoMessage()
func (*MsgReadBucketResponse) Reset ¶
func (m *MsgReadBucketResponse) Reset()
func (*MsgReadBucketResponse) Size ¶
func (m *MsgReadBucketResponse) Size() (n int)
func (*MsgReadBucketResponse) String ¶
func (m *MsgReadBucketResponse) String() string
func (*MsgReadBucketResponse) Unmarshal ¶
func (m *MsgReadBucketResponse) Unmarshal(dAtA []byte) error
func (*MsgReadBucketResponse) XXX_DiscardUnknown ¶
func (m *MsgReadBucketResponse) XXX_DiscardUnknown()
func (*MsgReadBucketResponse) XXX_Marshal ¶
func (m *MsgReadBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReadBucketResponse) XXX_Merge ¶
func (m *MsgReadBucketResponse) XXX_Merge(src proto.Message)
func (*MsgReadBucketResponse) XXX_Size ¶
func (m *MsgReadBucketResponse) XXX_Size() int
func (*MsgReadBucketResponse) XXX_Unmarshal ¶
func (m *MsgReadBucketResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateBucket(context.Context, *MsgCreateBucket) (*MsgCreateBucketResponse, error) ReadBucket(context.Context, *MsgReadBucket) (*MsgReadBucketResponse, error) UpdateBucket(context.Context, *MsgUpdateBucket) (*MsgUpdateBucketResponse, error) DeleteBucket(context.Context, *MsgDeleteBucket) (*MsgDeleteBucketResponse, error) CreateWhichIs(context.Context, *MsgCreateWhichIs) (*MsgCreateWhichIsResponse, error) UpdateWhichIs(context.Context, *MsgUpdateWhichIs) (*MsgUpdateWhichIsResponse, error) DeleteWhichIs(context.Context, *MsgDeleteWhichIs) (*MsgDeleteWhichIsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateBucket ¶
type MsgUpdateBucket 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"` Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` }
func NewMsgUpdateBucket ¶
func NewMsgUpdateBucket(creator string, did string, label string, description string) *MsgUpdateBucket
func (*MsgUpdateBucket) Descriptor ¶
func (*MsgUpdateBucket) Descriptor() ([]byte, []int)
func (*MsgUpdateBucket) GetCreator ¶
func (m *MsgUpdateBucket) GetCreator() string
func (*MsgUpdateBucket) GetDescription ¶
func (m *MsgUpdateBucket) GetDescription() string
func (*MsgUpdateBucket) GetDid ¶
func (m *MsgUpdateBucket) GetDid() string
func (*MsgUpdateBucket) GetLabel ¶
func (m *MsgUpdateBucket) GetLabel() string
func (*MsgUpdateBucket) GetSignBytes ¶
func (msg *MsgUpdateBucket) GetSignBytes() []byte
func (*MsgUpdateBucket) GetSigners ¶
func (msg *MsgUpdateBucket) GetSigners() []sdk.AccAddress
func (*MsgUpdateBucket) Marshal ¶
func (m *MsgUpdateBucket) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBucket) MarshalToSizedBuffer ¶
func (m *MsgUpdateBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBucket) ProtoMessage ¶
func (*MsgUpdateBucket) ProtoMessage()
func (*MsgUpdateBucket) Reset ¶
func (m *MsgUpdateBucket) Reset()
func (*MsgUpdateBucket) Route ¶
func (msg *MsgUpdateBucket) Route() string
func (*MsgUpdateBucket) Size ¶
func (m *MsgUpdateBucket) Size() (n int)
func (*MsgUpdateBucket) String ¶
func (m *MsgUpdateBucket) String() string
func (*MsgUpdateBucket) Type ¶
func (msg *MsgUpdateBucket) Type() string
func (*MsgUpdateBucket) Unmarshal ¶
func (m *MsgUpdateBucket) Unmarshal(dAtA []byte) error
func (*MsgUpdateBucket) ValidateBasic ¶
func (msg *MsgUpdateBucket) ValidateBasic() error
func (*MsgUpdateBucket) XXX_DiscardUnknown ¶
func (m *MsgUpdateBucket) XXX_DiscardUnknown()
func (*MsgUpdateBucket) XXX_Marshal ¶
func (m *MsgUpdateBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBucket) XXX_Merge ¶
func (m *MsgUpdateBucket) XXX_Merge(src proto.Message)
func (*MsgUpdateBucket) XXX_Size ¶
func (m *MsgUpdateBucket) XXX_Size() int
func (*MsgUpdateBucket) XXX_Unmarshal ¶
func (m *MsgUpdateBucket) XXX_Unmarshal(b []byte) error
type MsgUpdateBucketResponse ¶
type MsgUpdateBucketResponse struct { }
func (*MsgUpdateBucketResponse) Descriptor ¶
func (*MsgUpdateBucketResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateBucketResponse) Marshal ¶
func (m *MsgUpdateBucketResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBucketResponse) MarshalTo ¶
func (m *MsgUpdateBucketResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateBucketResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateBucketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBucketResponse) ProtoMessage ¶
func (*MsgUpdateBucketResponse) ProtoMessage()
func (*MsgUpdateBucketResponse) Reset ¶
func (m *MsgUpdateBucketResponse) Reset()
func (*MsgUpdateBucketResponse) Size ¶
func (m *MsgUpdateBucketResponse) Size() (n int)
func (*MsgUpdateBucketResponse) String ¶
func (m *MsgUpdateBucketResponse) String() string
func (*MsgUpdateBucketResponse) Unmarshal ¶
func (m *MsgUpdateBucketResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateBucketResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateBucketResponse) XXX_DiscardUnknown()
func (*MsgUpdateBucketResponse) XXX_Marshal ¶
func (m *MsgUpdateBucketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBucketResponse) XXX_Merge ¶
func (m *MsgUpdateBucketResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateBucketResponse) XXX_Size ¶
func (m *MsgUpdateBucketResponse) XXX_Size() int
func (*MsgUpdateBucketResponse) XXX_Unmarshal ¶
func (m *MsgUpdateBucketResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateWhichIs ¶
type MsgUpdateWhichIs 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 NewMsgUpdateWhichIs ¶
func NewMsgUpdateWhichIs( creator string, index string, did string, value string, ) *MsgUpdateWhichIs
func (*MsgUpdateWhichIs) Descriptor ¶
func (*MsgUpdateWhichIs) Descriptor() ([]byte, []int)
func (*MsgUpdateWhichIs) GetCreator ¶
func (m *MsgUpdateWhichIs) GetCreator() string
func (*MsgUpdateWhichIs) GetDid ¶
func (m *MsgUpdateWhichIs) GetDid() string
func (*MsgUpdateWhichIs) GetDocumentJson ¶
func (m *MsgUpdateWhichIs) GetDocumentJson() string
func (*MsgUpdateWhichIs) GetIndex ¶
func (m *MsgUpdateWhichIs) GetIndex() string
func (*MsgUpdateWhichIs) GetSignBytes ¶
func (msg *MsgUpdateWhichIs) GetSignBytes() []byte
func (*MsgUpdateWhichIs) GetSigners ¶
func (msg *MsgUpdateWhichIs) GetSigners() []sdk.AccAddress
func (*MsgUpdateWhichIs) Marshal ¶
func (m *MsgUpdateWhichIs) Marshal() (dAtA []byte, err error)
func (*MsgUpdateWhichIs) MarshalToSizedBuffer ¶
func (m *MsgUpdateWhichIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateWhichIs) ProtoMessage ¶
func (*MsgUpdateWhichIs) ProtoMessage()
func (*MsgUpdateWhichIs) Reset ¶
func (m *MsgUpdateWhichIs) Reset()
func (*MsgUpdateWhichIs) Route ¶
func (msg *MsgUpdateWhichIs) Route() string
func (*MsgUpdateWhichIs) Size ¶
func (m *MsgUpdateWhichIs) Size() (n int)
func (*MsgUpdateWhichIs) String ¶
func (m *MsgUpdateWhichIs) String() string
func (*MsgUpdateWhichIs) Type ¶
func (msg *MsgUpdateWhichIs) Type() string
func (*MsgUpdateWhichIs) Unmarshal ¶
func (m *MsgUpdateWhichIs) Unmarshal(dAtA []byte) error
func (*MsgUpdateWhichIs) ValidateBasic ¶
func (msg *MsgUpdateWhichIs) ValidateBasic() error
func (*MsgUpdateWhichIs) XXX_DiscardUnknown ¶
func (m *MsgUpdateWhichIs) XXX_DiscardUnknown()
func (*MsgUpdateWhichIs) XXX_Marshal ¶
func (m *MsgUpdateWhichIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateWhichIs) XXX_Merge ¶
func (m *MsgUpdateWhichIs) XXX_Merge(src proto.Message)
func (*MsgUpdateWhichIs) XXX_Size ¶
func (m *MsgUpdateWhichIs) XXX_Size() int
func (*MsgUpdateWhichIs) XXX_Unmarshal ¶
func (m *MsgUpdateWhichIs) XXX_Unmarshal(b []byte) error
type MsgUpdateWhichIsResponse ¶
type MsgUpdateWhichIsResponse struct { }
func (*MsgUpdateWhichIsResponse) Descriptor ¶
func (*MsgUpdateWhichIsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateWhichIsResponse) Marshal ¶
func (m *MsgUpdateWhichIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateWhichIsResponse) MarshalTo ¶
func (m *MsgUpdateWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateWhichIsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateWhichIsResponse) ProtoMessage ¶
func (*MsgUpdateWhichIsResponse) ProtoMessage()
func (*MsgUpdateWhichIsResponse) Reset ¶
func (m *MsgUpdateWhichIsResponse) Reset()
func (*MsgUpdateWhichIsResponse) Size ¶
func (m *MsgUpdateWhichIsResponse) Size() (n int)
func (*MsgUpdateWhichIsResponse) String ¶
func (m *MsgUpdateWhichIsResponse) String() string
func (*MsgUpdateWhichIsResponse) Unmarshal ¶
func (m *MsgUpdateWhichIsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateWhichIsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateWhichIsResponse) XXX_DiscardUnknown()
func (*MsgUpdateWhichIsResponse) XXX_Marshal ¶
func (m *MsgUpdateWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateWhichIsResponse) XXX_Merge ¶
func (m *MsgUpdateWhichIsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateWhichIsResponse) XXX_Size ¶
func (m *MsgUpdateWhichIsResponse) XXX_Size() int
func (*MsgUpdateWhichIsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateWhichIsResponse) 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 QueryAllWhichIsRequest ¶
type QueryAllWhichIsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllWhichIsRequest) Descriptor ¶
func (*QueryAllWhichIsRequest) Descriptor() ([]byte, []int)
func (*QueryAllWhichIsRequest) GetPagination ¶
func (m *QueryAllWhichIsRequest) GetPagination() *query.PageRequest
func (*QueryAllWhichIsRequest) Marshal ¶
func (m *QueryAllWhichIsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllWhichIsRequest) MarshalTo ¶
func (m *QueryAllWhichIsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllWhichIsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllWhichIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllWhichIsRequest) ProtoMessage ¶
func (*QueryAllWhichIsRequest) ProtoMessage()
func (*QueryAllWhichIsRequest) Reset ¶
func (m *QueryAllWhichIsRequest) Reset()
func (*QueryAllWhichIsRequest) Size ¶
func (m *QueryAllWhichIsRequest) Size() (n int)
func (*QueryAllWhichIsRequest) String ¶
func (m *QueryAllWhichIsRequest) String() string
func (*QueryAllWhichIsRequest) Unmarshal ¶
func (m *QueryAllWhichIsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllWhichIsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllWhichIsRequest) XXX_DiscardUnknown()
func (*QueryAllWhichIsRequest) XXX_Marshal ¶
func (m *QueryAllWhichIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllWhichIsRequest) XXX_Merge ¶
func (m *QueryAllWhichIsRequest) XXX_Merge(src proto.Message)
func (*QueryAllWhichIsRequest) XXX_Size ¶
func (m *QueryAllWhichIsRequest) XXX_Size() int
func (*QueryAllWhichIsRequest) XXX_Unmarshal ¶
func (m *QueryAllWhichIsRequest) XXX_Unmarshal(b []byte) error
type QueryAllWhichIsResponse ¶
type QueryAllWhichIsResponse struct { WhichIs []WhichIs `protobuf:"bytes,1,rep,name=whichIs,proto3" json:"whichIs"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllWhichIsResponse) Descriptor ¶
func (*QueryAllWhichIsResponse) Descriptor() ([]byte, []int)
func (*QueryAllWhichIsResponse) GetPagination ¶
func (m *QueryAllWhichIsResponse) GetPagination() *query.PageResponse
func (*QueryAllWhichIsResponse) GetWhichIs ¶
func (m *QueryAllWhichIsResponse) GetWhichIs() []WhichIs
func (*QueryAllWhichIsResponse) Marshal ¶
func (m *QueryAllWhichIsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllWhichIsResponse) MarshalTo ¶
func (m *QueryAllWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllWhichIsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllWhichIsResponse) ProtoMessage ¶
func (*QueryAllWhichIsResponse) ProtoMessage()
func (*QueryAllWhichIsResponse) Reset ¶
func (m *QueryAllWhichIsResponse) Reset()
func (*QueryAllWhichIsResponse) Size ¶
func (m *QueryAllWhichIsResponse) Size() (n int)
func (*QueryAllWhichIsResponse) String ¶
func (m *QueryAllWhichIsResponse) String() string
func (*QueryAllWhichIsResponse) Unmarshal ¶
func (m *QueryAllWhichIsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllWhichIsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllWhichIsResponse) XXX_DiscardUnknown()
func (*QueryAllWhichIsResponse) XXX_Marshal ¶
func (m *QueryAllWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllWhichIsResponse) XXX_Merge ¶
func (m *QueryAllWhichIsResponse) XXX_Merge(src proto.Message)
func (*QueryAllWhichIsResponse) XXX_Size ¶
func (m *QueryAllWhichIsResponse) XXX_Size() int
func (*QueryAllWhichIsResponse) XXX_Unmarshal ¶
func (m *QueryAllWhichIsResponse) 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 WhichIs by index. WhichIs(ctx context.Context, in *QueryGetWhichIsRequest, opts ...grpc.CallOption) (*QueryGetWhichIsResponse, error) // Queries a list of WhichIs items. WhichIsAll(ctx context.Context, in *QueryAllWhichIsRequest, opts ...grpc.CallOption) (*QueryAllWhichIsResponse, 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 QueryGetWhichIsRequest ¶
type QueryGetWhichIsRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetWhichIsRequest) Descriptor ¶
func (*QueryGetWhichIsRequest) Descriptor() ([]byte, []int)
func (*QueryGetWhichIsRequest) GetIndex ¶
func (m *QueryGetWhichIsRequest) GetIndex() string
func (*QueryGetWhichIsRequest) Marshal ¶
func (m *QueryGetWhichIsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetWhichIsRequest) MarshalTo ¶
func (m *QueryGetWhichIsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetWhichIsRequest) MarshalToSizedBuffer ¶
func (m *QueryGetWhichIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetWhichIsRequest) ProtoMessage ¶
func (*QueryGetWhichIsRequest) ProtoMessage()
func (*QueryGetWhichIsRequest) Reset ¶
func (m *QueryGetWhichIsRequest) Reset()
func (*QueryGetWhichIsRequest) Size ¶
func (m *QueryGetWhichIsRequest) Size() (n int)
func (*QueryGetWhichIsRequest) String ¶
func (m *QueryGetWhichIsRequest) String() string
func (*QueryGetWhichIsRequest) Unmarshal ¶
func (m *QueryGetWhichIsRequest) Unmarshal(dAtA []byte) error
func (*QueryGetWhichIsRequest) XXX_DiscardUnknown ¶
func (m *QueryGetWhichIsRequest) XXX_DiscardUnknown()
func (*QueryGetWhichIsRequest) XXX_Marshal ¶
func (m *QueryGetWhichIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetWhichIsRequest) XXX_Merge ¶
func (m *QueryGetWhichIsRequest) XXX_Merge(src proto.Message)
func (*QueryGetWhichIsRequest) XXX_Size ¶
func (m *QueryGetWhichIsRequest) XXX_Size() int
func (*QueryGetWhichIsRequest) XXX_Unmarshal ¶
func (m *QueryGetWhichIsRequest) XXX_Unmarshal(b []byte) error
type QueryGetWhichIsResponse ¶
type QueryGetWhichIsResponse struct {
WhichIs WhichIs `protobuf:"bytes,1,opt,name=whichIs,proto3" json:"whichIs"`
}
func (*QueryGetWhichIsResponse) Descriptor ¶
func (*QueryGetWhichIsResponse) Descriptor() ([]byte, []int)
func (*QueryGetWhichIsResponse) GetWhichIs ¶
func (m *QueryGetWhichIsResponse) GetWhichIs() WhichIs
func (*QueryGetWhichIsResponse) Marshal ¶
func (m *QueryGetWhichIsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetWhichIsResponse) MarshalTo ¶
func (m *QueryGetWhichIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetWhichIsResponse) MarshalToSizedBuffer ¶
func (m *QueryGetWhichIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetWhichIsResponse) ProtoMessage ¶
func (*QueryGetWhichIsResponse) ProtoMessage()
func (*QueryGetWhichIsResponse) Reset ¶
func (m *QueryGetWhichIsResponse) Reset()
func (*QueryGetWhichIsResponse) Size ¶
func (m *QueryGetWhichIsResponse) Size() (n int)
func (*QueryGetWhichIsResponse) String ¶
func (m *QueryGetWhichIsResponse) String() string
func (*QueryGetWhichIsResponse) Unmarshal ¶
func (m *QueryGetWhichIsResponse) Unmarshal(dAtA []byte) error
func (*QueryGetWhichIsResponse) XXX_DiscardUnknown ¶
func (m *QueryGetWhichIsResponse) XXX_DiscardUnknown()
func (*QueryGetWhichIsResponse) XXX_Marshal ¶
func (m *QueryGetWhichIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetWhichIsResponse) XXX_Merge ¶
func (m *QueryGetWhichIsResponse) XXX_Merge(src proto.Message)
func (*QueryGetWhichIsResponse) XXX_Size ¶
func (m *QueryGetWhichIsResponse) XXX_Size() int
func (*QueryGetWhichIsResponse) XXX_Unmarshal ¶
func (m *QueryGetWhichIsResponse) 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 WhichIs by index. WhichIs(context.Context, *QueryGetWhichIsRequest) (*QueryGetWhichIsResponse, error) // Queries a list of WhichIs items. WhichIsAll(context.Context, *QueryAllWhichIsRequest) (*QueryAllWhichIsResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateBucket ¶
func (*UnimplementedMsgServer) CreateBucket(ctx context.Context, req *MsgCreateBucket) (*MsgCreateBucketResponse, error)
func (*UnimplementedMsgServer) CreateWhichIs ¶
func (*UnimplementedMsgServer) CreateWhichIs(ctx context.Context, req *MsgCreateWhichIs) (*MsgCreateWhichIsResponse, error)
func (*UnimplementedMsgServer) DeleteBucket ¶
func (*UnimplementedMsgServer) DeleteBucket(ctx context.Context, req *MsgDeleteBucket) (*MsgDeleteBucketResponse, error)
func (*UnimplementedMsgServer) DeleteWhichIs ¶
func (*UnimplementedMsgServer) DeleteWhichIs(ctx context.Context, req *MsgDeleteWhichIs) (*MsgDeleteWhichIsResponse, error)
func (*UnimplementedMsgServer) ReadBucket ¶
func (*UnimplementedMsgServer) ReadBucket(ctx context.Context, req *MsgReadBucket) (*MsgReadBucketResponse, error)
func (*UnimplementedMsgServer) UpdateBucket ¶
func (*UnimplementedMsgServer) UpdateBucket(ctx context.Context, req *MsgUpdateBucket) (*MsgUpdateBucketResponse, error)
func (*UnimplementedMsgServer) UpdateWhichIs ¶
func (*UnimplementedMsgServer) UpdateWhichIs(ctx context.Context, req *MsgUpdateWhichIs) (*MsgUpdateWhichIsResponse, 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) WhichIs ¶
func (*UnimplementedQueryServer) WhichIs(ctx context.Context, req *QueryGetWhichIsRequest) (*QueryGetWhichIsResponse, error)
func (*UnimplementedQueryServer) WhichIsAll ¶
func (*UnimplementedQueryServer) WhichIsAll(ctx context.Context, req *QueryAllWhichIsRequest) (*QueryAllWhichIsResponse, error)
type WhichIs ¶
type WhichIs 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 (*WhichIs) Descriptor ¶
func (*WhichIs) GetCreator ¶
func (*WhichIs) GetDocument ¶
func (*WhichIs) MarshalToSizedBuffer ¶
func (*WhichIs) ProtoMessage ¶
func (*WhichIs) ProtoMessage()
func (*WhichIs) XXX_DiscardUnknown ¶
func (m *WhichIs) XXX_DiscardUnknown()
func (*WhichIs) XXX_Marshal ¶
func (*WhichIs) XXX_Unmarshal ¶
Source Files ¶
- bucket.pb.go
- codec.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- key_which_is.go
- keys.go
- message_create_bucket.go
- message_delete_bucket.go
- message_read_bucket.go
- message_update_bucket.go
- messages_which_is.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go
- which_is.pb.go