Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func HowIsKey(did string) []byte
- func KeyPrefix(p string) []byte
- func NewChannelDocToBuf(cd *ChannelDoc) *ct.ChannelDoc
- func NewHowIsToBuf(cd *HowIs) *ct.HowIs
- 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)
- type AccountKeeper
- type BankKeeper
- type CapabilityKeeper
- type ChannelDoc
- func (*ChannelDoc) Descriptor() ([]byte, []int)
- func (m *ChannelDoc) GetDescription() string
- func (m *ChannelDoc) GetDid() string
- func (m *ChannelDoc) GetLabel() string
- func (m *ChannelDoc) GetRegisteredObject() *types.ObjectDoc
- func (m *ChannelDoc) Marshal() (dAtA []byte, err error)
- func (m *ChannelDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *ChannelDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChannelDoc) ProtoMessage()
- func (m *ChannelDoc) Reset()
- func (m *ChannelDoc) Size() (n int)
- func (m *ChannelDoc) String() string
- func (m *ChannelDoc) Unmarshal(dAtA []byte) error
- func (m *ChannelDoc) XXX_DiscardUnknown()
- func (m *ChannelDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelDoc) XXX_Merge(src proto.Message)
- func (m *ChannelDoc) XXX_Size() int
- func (m *ChannelDoc) XXX_Unmarshal(b []byte) error
- type ChannelMessage
- func (*ChannelMessage) Descriptor() ([]byte, []int)
- func (m *ChannelMessage) GetDid() string
- func (m *ChannelMessage) GetMetadata() map[string]string
- func (m *ChannelMessage) GetObject() *types.ObjectDoc
- func (m *ChannelMessage) GetPeerDid() string
- func (m *ChannelMessage) Marshal() (dAtA []byte, err error)
- func (m *ChannelMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *ChannelMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChannelMessage) ProtoMessage()
- func (m *ChannelMessage) Reset()
- func (m *ChannelMessage) Size() (n int)
- func (m *ChannelMessage) String() string
- func (m *ChannelMessage) Unmarshal(dAtA []byte) error
- func (m *ChannelMessage) XXX_DiscardUnknown()
- func (m *ChannelMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelMessage) XXX_Merge(src proto.Message)
- func (m *ChannelMessage) XXX_Size() int
- func (m *ChannelMessage) XXX_Unmarshal(b []byte) error
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) Marshal() (dAtA []byte, err error)
- func (m *Config) MarshalTo(dAtA []byte) (int, error)
- func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) Size() (n int)
- func (m *Config) String() string
- func (m *Config) Unmarshal(dAtA []byte) error
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetHowIsList() []HowIs
- func (m *GenesisState) GetParams() Params
- 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 HowIs
- func (*HowIs) Descriptor() ([]byte, []int)
- func (m *HowIs) GetChannel() *ChannelDoc
- func (m *HowIs) GetCreator() string
- func (m *HowIs) GetDid() string
- func (m *HowIs) GetIsActive() bool
- func (m *HowIs) GetTimestamp() int64
- func (m *HowIs) Marshal() (dAtA []byte, err error)
- func (m *HowIs) MarshalTo(dAtA []byte) (int, error)
- func (m *HowIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HowIs) ProtoMessage()
- func (m *HowIs) Reset()
- func (m *HowIs) Size() (n int)
- func (m *HowIs) String() string
- func (m *HowIs) Unmarshal(dAtA []byte) error
- func (m *HowIs) XXX_DiscardUnknown()
- func (m *HowIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HowIs) XXX_Merge(src proto.Message)
- func (m *HowIs) XXX_Size() int
- func (m *HowIs) XXX_Unmarshal(b []byte) error
- type MintKeeper
- type MsgClient
- type MsgCreateChannel
- func (*MsgCreateChannel) Descriptor() ([]byte, []int)
- func (m *MsgCreateChannel) GetCreator() string
- func (m *MsgCreateChannel) GetDescription() string
- func (m *MsgCreateChannel) GetLabel() string
- func (m *MsgCreateChannel) GetObjectToRegister() *types.ObjectDoc
- func (m *MsgCreateChannel) GetSession() *types1.Session
- func (msg *MsgCreateChannel) GetSignBytes() []byte
- func (msg *MsgCreateChannel) GetSigners() []sdk.AccAddress
- func (m *MsgCreateChannel) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateChannel) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateChannel) ProtoMessage()
- func (m *MsgCreateChannel) Reset()
- func (msg *MsgCreateChannel) Route() string
- func (m *MsgCreateChannel) Size() (n int)
- func (m *MsgCreateChannel) String() string
- func (msg *MsgCreateChannel) Type() string
- func (m *MsgCreateChannel) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateChannel) ValidateBasic() error
- func (m *MsgCreateChannel) XXX_DiscardUnknown()
- func (m *MsgCreateChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateChannel) XXX_Merge(src proto.Message)
- func (m *MsgCreateChannel) XXX_Size() int
- func (m *MsgCreateChannel) XXX_Unmarshal(b []byte) error
- type MsgCreateChannelResponse
- func (*MsgCreateChannelResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateChannelResponse) GetCode() int32
- func (m *MsgCreateChannelResponse) GetHowIs() *HowIs
- func (m *MsgCreateChannelResponse) GetMessage() string
- func (m *MsgCreateChannelResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateChannelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateChannelResponse) ProtoMessage()
- func (m *MsgCreateChannelResponse) Reset()
- func (m *MsgCreateChannelResponse) Size() (n int)
- func (m *MsgCreateChannelResponse) String() string
- func (m *MsgCreateChannelResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateChannelResponse) XXX_DiscardUnknown()
- func (m *MsgCreateChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateChannelResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateChannelResponse) XXX_Size() int
- func (m *MsgCreateChannelResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateHowIs
- func (*MsgCreateHowIs) Descriptor() ([]byte, []int)
- func (m *MsgCreateHowIs) GetChannel() *ChannelDoc
- func (m *MsgCreateHowIs) GetCreator() string
- func (m *MsgCreateHowIs) GetDid() string
- func (msg *MsgCreateHowIs) GetSignBytes() []byte
- func (msg *MsgCreateHowIs) GetSigners() []sdk.AccAddress
- func (m *MsgCreateHowIs) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateHowIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateHowIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateHowIs) ProtoMessage()
- func (m *MsgCreateHowIs) Reset()
- func (msg *MsgCreateHowIs) Route() string
- func (m *MsgCreateHowIs) Size() (n int)
- func (m *MsgCreateHowIs) String() string
- func (msg *MsgCreateHowIs) Type() string
- func (m *MsgCreateHowIs) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateHowIs) ValidateBasic() error
- func (m *MsgCreateHowIs) XXX_DiscardUnknown()
- func (m *MsgCreateHowIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateHowIs) XXX_Merge(src proto.Message)
- func (m *MsgCreateHowIs) XXX_Size() int
- func (m *MsgCreateHowIs) XXX_Unmarshal(b []byte) error
- type MsgCreateHowIsResponse
- func (*MsgCreateHowIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateHowIsResponse) GetCode() int32
- func (m *MsgCreateHowIsResponse) GetHowIs() *HowIs
- func (m *MsgCreateHowIsResponse) GetMessage() string
- func (m *MsgCreateHowIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateHowIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateHowIsResponse) ProtoMessage()
- func (m *MsgCreateHowIsResponse) Reset()
- func (m *MsgCreateHowIsResponse) Size() (n int)
- func (m *MsgCreateHowIsResponse) String() string
- func (m *MsgCreateHowIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateHowIsResponse) XXX_DiscardUnknown()
- func (m *MsgCreateHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateHowIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateHowIsResponse) XXX_Size() int
- func (m *MsgCreateHowIsResponse) XXX_Unmarshal(b []byte) error
- type MsgDeactivateChannel
- func (*MsgDeactivateChannel) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateChannel) GetCreator() string
- func (m *MsgDeactivateChannel) GetDid() string
- func (m *MsgDeactivateChannel) GetSession() *types1.Session
- func (msg *MsgDeactivateChannel) GetSignBytes() []byte
- func (msg *MsgDeactivateChannel) GetSigners() []sdk.AccAddress
- func (m *MsgDeactivateChannel) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateChannel) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateChannel) ProtoMessage()
- func (m *MsgDeactivateChannel) Reset()
- func (msg *MsgDeactivateChannel) Route() string
- func (m *MsgDeactivateChannel) Size() (n int)
- func (m *MsgDeactivateChannel) String() string
- func (msg *MsgDeactivateChannel) Type() string
- func (m *MsgDeactivateChannel) Unmarshal(dAtA []byte) error
- func (msg *MsgDeactivateChannel) ValidateBasic() error
- func (m *MsgDeactivateChannel) XXX_DiscardUnknown()
- func (m *MsgDeactivateChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateChannel) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateChannel) XXX_Size() int
- func (m *MsgDeactivateChannel) XXX_Unmarshal(b []byte) error
- type MsgDeactivateChannelResponse
- func (*MsgDeactivateChannelResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateChannelResponse) GetCode() int32
- func (m *MsgDeactivateChannelResponse) GetMessage() string
- func (m *MsgDeactivateChannelResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateChannelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateChannelResponse) ProtoMessage()
- func (m *MsgDeactivateChannelResponse) Reset()
- func (m *MsgDeactivateChannelResponse) Size() (n int)
- func (m *MsgDeactivateChannelResponse) String() string
- func (m *MsgDeactivateChannelResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeactivateChannelResponse) XXX_DiscardUnknown()
- func (m *MsgDeactivateChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateChannelResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateChannelResponse) XXX_Size() int
- func (m *MsgDeactivateChannelResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteHowIs
- func (*MsgDeleteHowIs) Descriptor() ([]byte, []int)
- func (m *MsgDeleteHowIs) GetCreator() string
- func (m *MsgDeleteHowIs) GetDid() string
- func (msg *MsgDeleteHowIs) GetSignBytes() []byte
- func (msg *MsgDeleteHowIs) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteHowIs) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteHowIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteHowIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteHowIs) ProtoMessage()
- func (m *MsgDeleteHowIs) Reset()
- func (msg *MsgDeleteHowIs) Route() string
- func (m *MsgDeleteHowIs) Size() (n int)
- func (m *MsgDeleteHowIs) String() string
- func (msg *MsgDeleteHowIs) Type() string
- func (m *MsgDeleteHowIs) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteHowIs) ValidateBasic() error
- func (m *MsgDeleteHowIs) XXX_DiscardUnknown()
- func (m *MsgDeleteHowIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteHowIs) XXX_Merge(src proto.Message)
- func (m *MsgDeleteHowIs) XXX_Size() int
- func (m *MsgDeleteHowIs) XXX_Unmarshal(b []byte) error
- type MsgDeleteHowIsResponse
- func (*MsgDeleteHowIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteHowIsResponse) GetCode() int32
- func (m *MsgDeleteHowIsResponse) GetMessage() string
- func (m *MsgDeleteHowIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteHowIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteHowIsResponse) ProtoMessage()
- func (m *MsgDeleteHowIsResponse) Reset()
- func (m *MsgDeleteHowIsResponse) Size() (n int)
- func (m *MsgDeleteHowIsResponse) String() string
- func (m *MsgDeleteHowIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteHowIsResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteHowIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteHowIsResponse) XXX_Size() int
- func (m *MsgDeleteHowIsResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateChannel
- func (*MsgUpdateChannel) Descriptor() ([]byte, []int)
- func (m *MsgUpdateChannel) GetCreator() string
- func (m *MsgUpdateChannel) GetDescription() string
- func (m *MsgUpdateChannel) GetDid() string
- func (m *MsgUpdateChannel) GetLabel() string
- func (m *MsgUpdateChannel) GetObjectToRegister() *types.ObjectDoc
- func (m *MsgUpdateChannel) GetSession() *types1.Session
- func (msg *MsgUpdateChannel) GetSignBytes() []byte
- func (msg *MsgUpdateChannel) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateChannel) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateChannel) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateChannel) ProtoMessage()
- func (m *MsgUpdateChannel) Reset()
- func (msg *MsgUpdateChannel) Route() string
- func (m *MsgUpdateChannel) Size() (n int)
- func (m *MsgUpdateChannel) String() string
- func (msg *MsgUpdateChannel) Type() string
- func (m *MsgUpdateChannel) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateChannel) ValidateBasic() error
- func (m *MsgUpdateChannel) XXX_DiscardUnknown()
- func (m *MsgUpdateChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateChannel) XXX_Merge(src proto.Message)
- func (m *MsgUpdateChannel) XXX_Size() int
- func (m *MsgUpdateChannel) XXX_Unmarshal(b []byte) error
- type MsgUpdateChannelResponse
- func (*MsgUpdateChannelResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateChannelResponse) GetCode() int32
- func (m *MsgUpdateChannelResponse) GetMessage() string
- func (m *MsgUpdateChannelResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateChannelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateChannelResponse) ProtoMessage()
- func (m *MsgUpdateChannelResponse) Reset()
- func (m *MsgUpdateChannelResponse) Size() (n int)
- func (m *MsgUpdateChannelResponse) String() string
- func (m *MsgUpdateChannelResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateChannelResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateChannelResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateChannelResponse) XXX_Size() int
- func (m *MsgUpdateChannelResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateHowIs
- func (*MsgUpdateHowIs) Descriptor() ([]byte, []int)
- func (m *MsgUpdateHowIs) GetChannel() *ChannelDoc
- func (m *MsgUpdateHowIs) GetCreator() string
- func (m *MsgUpdateHowIs) GetDid() string
- func (msg *MsgUpdateHowIs) GetSignBytes() []byte
- func (msg *MsgUpdateHowIs) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateHowIs) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateHowIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateHowIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateHowIs) ProtoMessage()
- func (m *MsgUpdateHowIs) Reset()
- func (msg *MsgUpdateHowIs) Route() string
- func (m *MsgUpdateHowIs) Size() (n int)
- func (m *MsgUpdateHowIs) String() string
- func (msg *MsgUpdateHowIs) Type() string
- func (m *MsgUpdateHowIs) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateHowIs) ValidateBasic() error
- func (m *MsgUpdateHowIs) XXX_DiscardUnknown()
- func (m *MsgUpdateHowIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateHowIs) XXX_Merge(src proto.Message)
- func (m *MsgUpdateHowIs) XXX_Size() int
- func (m *MsgUpdateHowIs) XXX_Unmarshal(b []byte) error
- type MsgUpdateHowIsResponse
- func (*MsgUpdateHowIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateHowIsResponse) GetCode() int32
- func (m *MsgUpdateHowIsResponse) GetHowIs() *HowIs
- func (m *MsgUpdateHowIsResponse) GetMessage() string
- func (m *MsgUpdateHowIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateHowIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateHowIsResponse) ProtoMessage()
- func (m *MsgUpdateHowIsResponse) Reset()
- func (m *MsgUpdateHowIsResponse) Size() (n int)
- func (m *MsgUpdateHowIsResponse) String() string
- func (m *MsgUpdateHowIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateHowIsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateHowIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateHowIsResponse) XXX_Size() int
- func (m *MsgUpdateHowIsResponse) 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 QueryAllHowIsRequest
- func (*QueryAllHowIsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllHowIsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllHowIsRequest) GetSession() *types.Session
- func (m *QueryAllHowIsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllHowIsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllHowIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllHowIsRequest) ProtoMessage()
- func (m *QueryAllHowIsRequest) Reset()
- func (m *QueryAllHowIsRequest) Size() (n int)
- func (m *QueryAllHowIsRequest) String() string
- func (m *QueryAllHowIsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllHowIsRequest) XXX_DiscardUnknown()
- func (m *QueryAllHowIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllHowIsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllHowIsRequest) XXX_Size() int
- func (m *QueryAllHowIsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllHowIsResponse
- func (*QueryAllHowIsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllHowIsResponse) GetHowIs() []HowIs
- func (m *QueryAllHowIsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllHowIsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllHowIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllHowIsResponse) ProtoMessage()
- func (m *QueryAllHowIsResponse) Reset()
- func (m *QueryAllHowIsResponse) Size() (n int)
- func (m *QueryAllHowIsResponse) String() string
- func (m *QueryAllHowIsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllHowIsResponse) XXX_DiscardUnknown()
- func (m *QueryAllHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllHowIsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllHowIsResponse) XXX_Size() int
- func (m *QueryAllHowIsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryHowIsRequest
- func (*QueryHowIsRequest) Descriptor() ([]byte, []int)
- func (m *QueryHowIsRequest) GetDid() string
- func (m *QueryHowIsRequest) GetSession() *types.Session
- func (m *QueryHowIsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryHowIsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHowIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHowIsRequest) ProtoMessage()
- func (m *QueryHowIsRequest) Reset()
- func (m *QueryHowIsRequest) Size() (n int)
- func (m *QueryHowIsRequest) String() string
- func (m *QueryHowIsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryHowIsRequest) XXX_DiscardUnknown()
- func (m *QueryHowIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHowIsRequest) XXX_Merge(src proto.Message)
- func (m *QueryHowIsRequest) XXX_Size() int
- func (m *QueryHowIsRequest) XXX_Unmarshal(b []byte) error
- type QueryHowIsResponse
- func (*QueryHowIsResponse) Descriptor() ([]byte, []int)
- func (m *QueryHowIsResponse) GetHowIs() HowIs
- func (m *QueryHowIsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryHowIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHowIsResponse) ProtoMessage()
- func (m *QueryHowIsResponse) Reset()
- func (m *QueryHowIsResponse) Size() (n int)
- func (m *QueryHowIsResponse) String() string
- func (m *QueryHowIsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryHowIsResponse) XXX_DiscardUnknown()
- func (m *QueryHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHowIsResponse) XXX_Merge(src proto.Message)
- func (m *QueryHowIsResponse) XXX_Size() int
- func (m *QueryHowIsResponse) 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) CreateChannel(ctx context.Context, req *MsgCreateChannel) (*MsgCreateChannelResponse, error)
- func (*UnimplementedMsgServer) CreateHowIs(ctx context.Context, req *MsgCreateHowIs) (*MsgCreateHowIsResponse, error)
- func (*UnimplementedMsgServer) DeactivateChannel(ctx context.Context, req *MsgDeactivateChannel) (*MsgDeactivateChannelResponse, error)
- func (*UnimplementedMsgServer) DeleteHowIs(ctx context.Context, req *MsgDeleteHowIs) (*MsgDeleteHowIsResponse, error)
- func (*UnimplementedMsgServer) UpdateChannel(ctx context.Context, req *MsgUpdateChannel) (*MsgUpdateChannelResponse, error)
- func (*UnimplementedMsgServer) UpdateHowIs(ctx context.Context, req *MsgUpdateHowIs) (*MsgUpdateHowIsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) HowIs(ctx context.Context, req *QueryHowIsRequest) (*QueryHowIsResponse, error)
- func (*UnimplementedQueryServer) HowIsAll(ctx context.Context, req *QueryAllHowIsRequest) (*QueryAllHowIsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "channel" // 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_channel" )
const ( TypeMsgCreateHowIs = "create_how_is" TypeMsgUpdateHowIs = "update_how_is" TypeMsgDeleteHowIs = "delete_how_is" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
// HowIsKeyPrefix is the prefix to retrieve all HowIs
HowIsKeyPrefix = "HowIs/value/"
)
const TypeMsgCreateChannel = "create_channel"
const TypeMsgDeactivateChannel = "delete_channel"
const TypeMsgUpdateChannel = "update_channel"
Variables ¶
var ( ErrInvalidLengthChannel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowChannel = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupChannel = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group") )
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrInactiveChannel = sdkerrors.Register(ModuleName, 1104, "Requested channel has been deactivated") )
x/channel module sentinel errors
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 ( ErrInvalidLengthHowIs = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHowIs = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupHowIs = 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") )
Functions ¶
func NewChannelDocToBuf ¶ added in v0.0.11
func NewChannelDocToBuf(cd *ChannelDoc) *ct.ChannelDoc
func NewHowIsToBuf ¶ added in v0.0.11
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)
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 ChannelDoc ¶ added in v0.0.8
type ChannelDoc struct { // Label is human-readable name of the channel. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Description is a human-readable description of the channel. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Did is the identifier of the channel. Did string `protobuf:"bytes,4,opt,name=did,proto3" json:"did,omitempty"` // RegisterdObject is the object that is registered as the payload for the channel. RegisteredObject *types.ObjectDoc `protobuf:"bytes,5,opt,name=registered_object,json=registeredObject,proto3" json:"registered_object,omitempty"` }
func NewChannelDocFromBuf ¶ added in v0.0.11
func NewChannelDocFromBuf(cd *ct.ChannelDoc) *ChannelDoc
func (*ChannelDoc) Descriptor ¶ added in v0.0.8
func (*ChannelDoc) Descriptor() ([]byte, []int)
func (*ChannelDoc) GetDescription ¶ added in v0.0.8
func (m *ChannelDoc) GetDescription() string
func (*ChannelDoc) GetDid ¶ added in v0.0.8
func (m *ChannelDoc) GetDid() string
func (*ChannelDoc) GetLabel ¶ added in v0.0.8
func (m *ChannelDoc) GetLabel() string
func (*ChannelDoc) GetRegisteredObject ¶ added in v0.0.8
func (m *ChannelDoc) GetRegisteredObject() *types.ObjectDoc
func (*ChannelDoc) Marshal ¶ added in v0.0.8
func (m *ChannelDoc) Marshal() (dAtA []byte, err error)
func (*ChannelDoc) MarshalTo ¶ added in v0.0.8
func (m *ChannelDoc) MarshalTo(dAtA []byte) (int, error)
func (*ChannelDoc) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *ChannelDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChannelDoc) ProtoMessage ¶ added in v0.0.8
func (*ChannelDoc) ProtoMessage()
func (*ChannelDoc) Reset ¶ added in v0.0.8
func (m *ChannelDoc) Reset()
func (*ChannelDoc) Size ¶ added in v0.0.8
func (m *ChannelDoc) Size() (n int)
func (*ChannelDoc) String ¶ added in v0.0.8
func (m *ChannelDoc) String() string
func (*ChannelDoc) Unmarshal ¶ added in v0.0.8
func (m *ChannelDoc) Unmarshal(dAtA []byte) error
func (*ChannelDoc) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *ChannelDoc) XXX_DiscardUnknown()
func (*ChannelDoc) XXX_Marshal ¶ added in v0.0.8
func (m *ChannelDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelDoc) XXX_Merge ¶ added in v0.0.8
func (m *ChannelDoc) XXX_Merge(src proto.Message)
func (*ChannelDoc) XXX_Size ¶ added in v0.0.8
func (m *ChannelDoc) XXX_Size() int
func (*ChannelDoc) XXX_Unmarshal ¶ added in v0.0.8
func (m *ChannelDoc) XXX_Unmarshal(b []byte) error
type ChannelMessage ¶
type ChannelMessage struct { // Owner is the peer that originated the message. PeerDid string `protobuf:"bytes,1,opt,name=peer_did,json=peerDid,proto3" json:"peer_did,omitempty"` // Did is the identifier of the channel. Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` // Data is the data being sent. Object *types.ObjectDoc `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // Metadata is the metadata associated with the message. Metadata map[string]string `` /* 157-byte string literal not displayed */ }
ChannelMessage is a message sent to a channel.
func (*ChannelMessage) Descriptor ¶
func (*ChannelMessage) Descriptor() ([]byte, []int)
func (*ChannelMessage) GetDid ¶
func (m *ChannelMessage) GetDid() string
func (*ChannelMessage) GetMetadata ¶
func (m *ChannelMessage) GetMetadata() map[string]string
func (*ChannelMessage) GetObject ¶
func (m *ChannelMessage) GetObject() *types.ObjectDoc
func (*ChannelMessage) GetPeerDid ¶ added in v0.0.8
func (m *ChannelMessage) GetPeerDid() string
func (*ChannelMessage) Marshal ¶
func (m *ChannelMessage) Marshal() (dAtA []byte, err error)
func (*ChannelMessage) MarshalToSizedBuffer ¶
func (m *ChannelMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChannelMessage) ProtoMessage ¶
func (*ChannelMessage) ProtoMessage()
func (*ChannelMessage) Reset ¶
func (m *ChannelMessage) Reset()
func (*ChannelMessage) Size ¶
func (m *ChannelMessage) Size() (n int)
func (*ChannelMessage) String ¶
func (m *ChannelMessage) String() string
func (*ChannelMessage) Unmarshal ¶
func (m *ChannelMessage) Unmarshal(dAtA []byte) error
func (*ChannelMessage) XXX_DiscardUnknown ¶
func (m *ChannelMessage) XXX_DiscardUnknown()
func (*ChannelMessage) XXX_Marshal ¶
func (m *ChannelMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelMessage) XXX_Merge ¶
func (m *ChannelMessage) XXX_Merge(src proto.Message)
func (*ChannelMessage) XXX_Size ¶
func (m *ChannelMessage) XXX_Size() int
func (*ChannelMessage) XXX_Unmarshal ¶
func (m *ChannelMessage) XXX_Unmarshal(b []byte) error
type Config ¶
type Config struct { }
func (*Config) Descriptor ¶
func (*Config) MarshalToSizedBuffer ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` HowIsList []HowIs `protobuf:"bytes,2,rep,name=howIsList,proto3" json:"howIsList"` }
GenesisState defines the channel 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) GetHowIsList ¶
func (m *GenesisState) GetHowIsList() []HowIs
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
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 HowIs ¶
type HowIs struct { // Did is the DID of the channel Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"` // Document is the DID Document of the registered name and account encoded as JSON Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // ChannelDoc is the structure of the channel encoded as JSON Channel *ChannelDoc `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` // Timestamp is the time of the last update of the DID Document Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // IsActive is the status of the DID Document IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` }
func NewHowIsFromBuf ¶ added in v0.0.11
func (*HowIs) Descriptor ¶
func (*HowIs) GetChannel ¶ added in v0.0.8
func (m *HowIs) GetChannel() *ChannelDoc
func (*HowIs) GetCreator ¶
func (*HowIs) GetIsActive ¶ added in v0.0.9
func (*HowIs) GetTimestamp ¶ added in v0.0.9
func (*HowIs) ProtoMessage ¶
func (*HowIs) ProtoMessage()
func (*HowIs) XXX_DiscardUnknown ¶
func (m *HowIs) XXX_DiscardUnknown()
func (*HowIs) XXX_Marshal ¶
func (*HowIs) XXX_Unmarshal ¶
type MintKeeper ¶
type MintKeeper interface { }
type MsgClient ¶
type MsgClient interface { // CreateChannel // // CreateChannel creates a new channel doc on the channel module of the blockchain. CreateChannel(ctx context.Context, in *MsgCreateChannel, opts ...grpc.CallOption) (*MsgCreateChannelResponse, error) // UpdateChannel // // UpdateChannel updates an existing channel doc on the channel module of the blockchain. UpdateChannel(ctx context.Context, in *MsgUpdateChannel, opts ...grpc.CallOption) (*MsgUpdateChannelResponse, error) // DeactivateChannel // // DeactivateChannel deactivates an existing channel doc on the channel module of the blockchain. DeactivateChannel(ctx context.Context, in *MsgDeactivateChannel, opts ...grpc.CallOption) (*MsgDeactivateChannelResponse, error) // CreateHowIs // // CreateHowIs creates a new how is doc on the channel module of the blockchain. CreateHowIs(ctx context.Context, in *MsgCreateHowIs, opts ...grpc.CallOption) (*MsgCreateHowIsResponse, error) // UpdateHowIs // // UpdateHowIs updates an existing how is doc on the channel module of the blockchain. UpdateHowIs(ctx context.Context, in *MsgUpdateHowIs, opts ...grpc.CallOption) (*MsgUpdateHowIsResponse, error) // DeleteHowIs // // DeleteHowIs deletes an existing how is doc on the channel module of the blockchain. DeleteHowIs(ctx context.Context, in *MsgDeleteHowIs, opts ...grpc.CallOption) (*MsgDeleteHowIsResponse, 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 MsgCreateChannel ¶
type MsgCreateChannel 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"` ObjectToRegister *types.ObjectDoc `protobuf:"bytes,4,opt,name=object_to_register,json=objectToRegister,proto3" json:"object_to_register,omitempty"` Session *types1.Session `protobuf:"bytes,5,opt,name=session,proto3" json:"session,omitempty"` }
func NewMsgCreateChannel ¶
func NewMsgCreateChannelFromBuf ¶ added in v0.0.11
func NewMsgCreateChannelFromBuf(msg *ct.MsgCreateChannel) *MsgCreateChannel
func (*MsgCreateChannel) Descriptor ¶
func (*MsgCreateChannel) Descriptor() ([]byte, []int)
func (*MsgCreateChannel) GetCreator ¶
func (m *MsgCreateChannel) GetCreator() string
func (*MsgCreateChannel) GetDescription ¶
func (m *MsgCreateChannel) GetDescription() string
func (*MsgCreateChannel) GetLabel ¶ added in v0.0.8
func (m *MsgCreateChannel) GetLabel() string
func (*MsgCreateChannel) GetObjectToRegister ¶ added in v0.0.8
func (m *MsgCreateChannel) GetObjectToRegister() *types.ObjectDoc
func (*MsgCreateChannel) GetSession ¶ added in v0.0.8
func (m *MsgCreateChannel) GetSession() *types1.Session
func (*MsgCreateChannel) GetSignBytes ¶
func (msg *MsgCreateChannel) GetSignBytes() []byte
func (*MsgCreateChannel) GetSigners ¶
func (msg *MsgCreateChannel) GetSigners() []sdk.AccAddress
func (*MsgCreateChannel) Marshal ¶
func (m *MsgCreateChannel) Marshal() (dAtA []byte, err error)
func (*MsgCreateChannel) MarshalToSizedBuffer ¶
func (m *MsgCreateChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateChannel) ProtoMessage ¶
func (*MsgCreateChannel) ProtoMessage()
func (*MsgCreateChannel) Reset ¶
func (m *MsgCreateChannel) Reset()
func (*MsgCreateChannel) Route ¶
func (msg *MsgCreateChannel) Route() string
func (*MsgCreateChannel) Size ¶
func (m *MsgCreateChannel) Size() (n int)
func (*MsgCreateChannel) String ¶
func (m *MsgCreateChannel) String() string
func (*MsgCreateChannel) Type ¶
func (msg *MsgCreateChannel) Type() string
func (*MsgCreateChannel) Unmarshal ¶
func (m *MsgCreateChannel) Unmarshal(dAtA []byte) error
func (*MsgCreateChannel) ValidateBasic ¶
func (msg *MsgCreateChannel) ValidateBasic() error
func (*MsgCreateChannel) XXX_DiscardUnknown ¶
func (m *MsgCreateChannel) XXX_DiscardUnknown()
func (*MsgCreateChannel) XXX_Marshal ¶
func (m *MsgCreateChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateChannel) XXX_Merge ¶
func (m *MsgCreateChannel) XXX_Merge(src proto.Message)
func (*MsgCreateChannel) XXX_Size ¶
func (m *MsgCreateChannel) XXX_Size() int
func (*MsgCreateChannel) XXX_Unmarshal ¶
func (m *MsgCreateChannel) XXX_Unmarshal(b []byte) error
type MsgCreateChannelResponse ¶
type MsgCreateChannelResponse struct { // Code of the response Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // Message of the response Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // HowIs of the Channel HowIs *HowIs `protobuf:"bytes,3,opt,name=how_is,json=howIs,proto3" json:"how_is,omitempty"` }
func (*MsgCreateChannelResponse) Descriptor ¶
func (*MsgCreateChannelResponse) Descriptor() ([]byte, []int)
func (*MsgCreateChannelResponse) GetCode ¶ added in v0.0.8
func (m *MsgCreateChannelResponse) GetCode() int32
func (*MsgCreateChannelResponse) GetHowIs ¶ added in v0.0.8
func (m *MsgCreateChannelResponse) GetHowIs() *HowIs
func (*MsgCreateChannelResponse) GetMessage ¶ added in v0.0.8
func (m *MsgCreateChannelResponse) GetMessage() string
func (*MsgCreateChannelResponse) Marshal ¶
func (m *MsgCreateChannelResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateChannelResponse) MarshalTo ¶
func (m *MsgCreateChannelResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateChannelResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateChannelResponse) ProtoMessage ¶
func (*MsgCreateChannelResponse) ProtoMessage()
func (*MsgCreateChannelResponse) Reset ¶
func (m *MsgCreateChannelResponse) Reset()
func (*MsgCreateChannelResponse) Size ¶
func (m *MsgCreateChannelResponse) Size() (n int)
func (*MsgCreateChannelResponse) String ¶
func (m *MsgCreateChannelResponse) String() string
func (*MsgCreateChannelResponse) Unmarshal ¶
func (m *MsgCreateChannelResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateChannelResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateChannelResponse) XXX_DiscardUnknown()
func (*MsgCreateChannelResponse) XXX_Marshal ¶
func (m *MsgCreateChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateChannelResponse) XXX_Merge ¶
func (m *MsgCreateChannelResponse) XXX_Merge(src proto.Message)
func (*MsgCreateChannelResponse) XXX_Size ¶
func (m *MsgCreateChannelResponse) XXX_Size() int
func (*MsgCreateChannelResponse) XXX_Unmarshal ¶
func (m *MsgCreateChannelResponse) XXX_Unmarshal(b []byte) error
type MsgCreateHowIs ¶
type MsgCreateHowIs 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"` Channel *ChannelDoc `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"` }
func NewMsgCreateHowIs ¶
func NewMsgCreateHowIs( creator string, did string, c *ChannelDoc, ) *MsgCreateHowIs
func NewMsgCreateHowIsFromBuf ¶ added in v0.0.11
func NewMsgCreateHowIsFromBuf(msg *ct.MsgCreateHowIs) *MsgCreateHowIs
func (*MsgCreateHowIs) Descriptor ¶
func (*MsgCreateHowIs) Descriptor() ([]byte, []int)
func (*MsgCreateHowIs) GetChannel ¶ added in v0.0.8
func (m *MsgCreateHowIs) GetChannel() *ChannelDoc
func (*MsgCreateHowIs) GetCreator ¶
func (m *MsgCreateHowIs) GetCreator() string
func (*MsgCreateHowIs) GetDid ¶
func (m *MsgCreateHowIs) GetDid() string
func (*MsgCreateHowIs) GetSignBytes ¶
func (msg *MsgCreateHowIs) GetSignBytes() []byte
func (*MsgCreateHowIs) GetSigners ¶
func (msg *MsgCreateHowIs) GetSigners() []sdk.AccAddress
func (*MsgCreateHowIs) Marshal ¶
func (m *MsgCreateHowIs) Marshal() (dAtA []byte, err error)
func (*MsgCreateHowIs) MarshalToSizedBuffer ¶
func (m *MsgCreateHowIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateHowIs) ProtoMessage ¶
func (*MsgCreateHowIs) ProtoMessage()
func (*MsgCreateHowIs) Reset ¶
func (m *MsgCreateHowIs) Reset()
func (*MsgCreateHowIs) Route ¶
func (msg *MsgCreateHowIs) Route() string
func (*MsgCreateHowIs) Size ¶
func (m *MsgCreateHowIs) Size() (n int)
func (*MsgCreateHowIs) String ¶
func (m *MsgCreateHowIs) String() string
func (*MsgCreateHowIs) Type ¶
func (msg *MsgCreateHowIs) Type() string
func (*MsgCreateHowIs) Unmarshal ¶
func (m *MsgCreateHowIs) Unmarshal(dAtA []byte) error
func (*MsgCreateHowIs) ValidateBasic ¶
func (msg *MsgCreateHowIs) ValidateBasic() error
func (*MsgCreateHowIs) XXX_DiscardUnknown ¶
func (m *MsgCreateHowIs) XXX_DiscardUnknown()
func (*MsgCreateHowIs) XXX_Marshal ¶
func (m *MsgCreateHowIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateHowIs) XXX_Merge ¶
func (m *MsgCreateHowIs) XXX_Merge(src proto.Message)
func (*MsgCreateHowIs) XXX_Size ¶
func (m *MsgCreateHowIs) XXX_Size() int
func (*MsgCreateHowIs) XXX_Unmarshal ¶
func (m *MsgCreateHowIs) XXX_Unmarshal(b []byte) error
type MsgCreateHowIsResponse ¶
type MsgCreateHowIsResponse struct { // Code of the response Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // Message of the response Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` HowIs *HowIs `protobuf:"bytes,3,opt,name=how_is,json=howIs,proto3" json:"how_is,omitempty"` }
func (*MsgCreateHowIsResponse) Descriptor ¶
func (*MsgCreateHowIsResponse) Descriptor() ([]byte, []int)
func (*MsgCreateHowIsResponse) GetCode ¶ added in v0.0.8
func (m *MsgCreateHowIsResponse) GetCode() int32
func (*MsgCreateHowIsResponse) GetHowIs ¶ added in v0.0.8
func (m *MsgCreateHowIsResponse) GetHowIs() *HowIs
func (*MsgCreateHowIsResponse) GetMessage ¶ added in v0.0.8
func (m *MsgCreateHowIsResponse) GetMessage() string
func (*MsgCreateHowIsResponse) Marshal ¶
func (m *MsgCreateHowIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateHowIsResponse) MarshalTo ¶
func (m *MsgCreateHowIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateHowIsResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateHowIsResponse) ProtoMessage ¶
func (*MsgCreateHowIsResponse) ProtoMessage()
func (*MsgCreateHowIsResponse) Reset ¶
func (m *MsgCreateHowIsResponse) Reset()
func (*MsgCreateHowIsResponse) Size ¶
func (m *MsgCreateHowIsResponse) Size() (n int)
func (*MsgCreateHowIsResponse) String ¶
func (m *MsgCreateHowIsResponse) String() string
func (*MsgCreateHowIsResponse) Unmarshal ¶
func (m *MsgCreateHowIsResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateHowIsResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateHowIsResponse) XXX_DiscardUnknown()
func (*MsgCreateHowIsResponse) XXX_Marshal ¶
func (m *MsgCreateHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateHowIsResponse) XXX_Merge ¶
func (m *MsgCreateHowIsResponse) XXX_Merge(src proto.Message)
func (*MsgCreateHowIsResponse) XXX_Size ¶
func (m *MsgCreateHowIsResponse) XXX_Size() int
func (*MsgCreateHowIsResponse) XXX_Unmarshal ¶
func (m *MsgCreateHowIsResponse) XXX_Unmarshal(b []byte) error
type MsgDeactivateChannel ¶ added in v0.0.9
type MsgDeactivateChannel 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"` Session *types1.Session `protobuf:"bytes,3,opt,name=session,proto3" json:"session,omitempty"` }
func NewMsgDeactivateChannel ¶ added in v0.0.9
func NewMsgDeactivateChannel(creator string, did string, s *rt.Session) *MsgDeactivateChannel
func NewMsgDeactivateChannelFromBuf ¶ added in v0.0.11
func NewMsgDeactivateChannelFromBuf(msg *ct.MsgDeactivateChannel) *MsgDeactivateChannel
func (*MsgDeactivateChannel) Descriptor ¶ added in v0.0.9
func (*MsgDeactivateChannel) Descriptor() ([]byte, []int)
func (*MsgDeactivateChannel) GetCreator ¶ added in v0.0.9
func (m *MsgDeactivateChannel) GetCreator() string
func (*MsgDeactivateChannel) GetDid ¶ added in v0.0.9
func (m *MsgDeactivateChannel) GetDid() string
func (*MsgDeactivateChannel) GetSession ¶ added in v0.0.9
func (m *MsgDeactivateChannel) GetSession() *types1.Session
func (*MsgDeactivateChannel) GetSignBytes ¶ added in v0.0.9
func (msg *MsgDeactivateChannel) GetSignBytes() []byte
func (*MsgDeactivateChannel) GetSigners ¶ added in v0.0.9
func (msg *MsgDeactivateChannel) GetSigners() []sdk.AccAddress
func (*MsgDeactivateChannel) Marshal ¶ added in v0.0.9
func (m *MsgDeactivateChannel) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateChannel) MarshalTo ¶ added in v0.0.9
func (m *MsgDeactivateChannel) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateChannel) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *MsgDeactivateChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateChannel) ProtoMessage ¶ added in v0.0.9
func (*MsgDeactivateChannel) ProtoMessage()
func (*MsgDeactivateChannel) Reset ¶ added in v0.0.9
func (m *MsgDeactivateChannel) Reset()
func (*MsgDeactivateChannel) Route ¶ added in v0.0.9
func (msg *MsgDeactivateChannel) Route() string
func (*MsgDeactivateChannel) Size ¶ added in v0.0.9
func (m *MsgDeactivateChannel) Size() (n int)
func (*MsgDeactivateChannel) String ¶ added in v0.0.9
func (m *MsgDeactivateChannel) String() string
func (*MsgDeactivateChannel) Type ¶ added in v0.0.9
func (msg *MsgDeactivateChannel) Type() string
func (*MsgDeactivateChannel) Unmarshal ¶ added in v0.0.9
func (m *MsgDeactivateChannel) Unmarshal(dAtA []byte) error
func (*MsgDeactivateChannel) ValidateBasic ¶ added in v0.0.9
func (msg *MsgDeactivateChannel) ValidateBasic() error
func (*MsgDeactivateChannel) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *MsgDeactivateChannel) XXX_DiscardUnknown()
func (*MsgDeactivateChannel) XXX_Marshal ¶ added in v0.0.9
func (m *MsgDeactivateChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateChannel) XXX_Merge ¶ added in v0.0.9
func (m *MsgDeactivateChannel) XXX_Merge(src proto.Message)
func (*MsgDeactivateChannel) XXX_Size ¶ added in v0.0.9
func (m *MsgDeactivateChannel) XXX_Size() int
func (*MsgDeactivateChannel) XXX_Unmarshal ¶ added in v0.0.9
func (m *MsgDeactivateChannel) XXX_Unmarshal(b []byte) error
type MsgDeactivateChannelResponse ¶ added in v0.0.9
type MsgDeactivateChannelResponse struct { // Code of the response Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // Message of the response Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*MsgDeactivateChannelResponse) Descriptor ¶ added in v0.0.9
func (*MsgDeactivateChannelResponse) Descriptor() ([]byte, []int)
func (*MsgDeactivateChannelResponse) GetCode ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) GetCode() int32
func (*MsgDeactivateChannelResponse) GetMessage ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) GetMessage() string
func (*MsgDeactivateChannelResponse) Marshal ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateChannelResponse) MarshalTo ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateChannelResponse) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateChannelResponse) ProtoMessage ¶ added in v0.0.9
func (*MsgDeactivateChannelResponse) ProtoMessage()
func (*MsgDeactivateChannelResponse) Reset ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) Reset()
func (*MsgDeactivateChannelResponse) Size ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) Size() (n int)
func (*MsgDeactivateChannelResponse) String ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) String() string
func (*MsgDeactivateChannelResponse) Unmarshal ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) Unmarshal(dAtA []byte) error
func (*MsgDeactivateChannelResponse) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) XXX_DiscardUnknown()
func (*MsgDeactivateChannelResponse) XXX_Marshal ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateChannelResponse) XXX_Merge ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) XXX_Merge(src proto.Message)
func (*MsgDeactivateChannelResponse) XXX_Size ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) XXX_Size() int
func (*MsgDeactivateChannelResponse) XXX_Unmarshal ¶ added in v0.0.9
func (m *MsgDeactivateChannelResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteHowIs ¶
type MsgDeleteHowIs 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 NewMsgDeleteHowIs ¶
func NewMsgDeleteHowIs( creator string, did string, ) *MsgDeleteHowIs
func (*MsgDeleteHowIs) Descriptor ¶
func (*MsgDeleteHowIs) Descriptor() ([]byte, []int)
func (*MsgDeleteHowIs) GetCreator ¶
func (m *MsgDeleteHowIs) GetCreator() string
func (*MsgDeleteHowIs) GetDid ¶ added in v0.0.8
func (m *MsgDeleteHowIs) GetDid() string
func (*MsgDeleteHowIs) GetSignBytes ¶
func (msg *MsgDeleteHowIs) GetSignBytes() []byte
func (*MsgDeleteHowIs) GetSigners ¶
func (msg *MsgDeleteHowIs) GetSigners() []sdk.AccAddress
func (*MsgDeleteHowIs) Marshal ¶
func (m *MsgDeleteHowIs) Marshal() (dAtA []byte, err error)
func (*MsgDeleteHowIs) MarshalToSizedBuffer ¶
func (m *MsgDeleteHowIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteHowIs) ProtoMessage ¶
func (*MsgDeleteHowIs) ProtoMessage()
func (*MsgDeleteHowIs) Reset ¶
func (m *MsgDeleteHowIs) Reset()
func (*MsgDeleteHowIs) Route ¶
func (msg *MsgDeleteHowIs) Route() string
func (*MsgDeleteHowIs) Size ¶
func (m *MsgDeleteHowIs) Size() (n int)
func (*MsgDeleteHowIs) String ¶
func (m *MsgDeleteHowIs) String() string
func (*MsgDeleteHowIs) Type ¶
func (msg *MsgDeleteHowIs) Type() string
func (*MsgDeleteHowIs) Unmarshal ¶
func (m *MsgDeleteHowIs) Unmarshal(dAtA []byte) error
func (*MsgDeleteHowIs) ValidateBasic ¶
func (msg *MsgDeleteHowIs) ValidateBasic() error
func (*MsgDeleteHowIs) XXX_DiscardUnknown ¶
func (m *MsgDeleteHowIs) XXX_DiscardUnknown()
func (*MsgDeleteHowIs) XXX_Marshal ¶
func (m *MsgDeleteHowIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteHowIs) XXX_Merge ¶
func (m *MsgDeleteHowIs) XXX_Merge(src proto.Message)
func (*MsgDeleteHowIs) XXX_Size ¶
func (m *MsgDeleteHowIs) XXX_Size() int
func (*MsgDeleteHowIs) XXX_Unmarshal ¶
func (m *MsgDeleteHowIs) XXX_Unmarshal(b []byte) error
type MsgDeleteHowIsResponse ¶
type MsgDeleteHowIsResponse struct { // Code of the response Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // Message of the response Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*MsgDeleteHowIsResponse) Descriptor ¶
func (*MsgDeleteHowIsResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteHowIsResponse) GetCode ¶ added in v0.0.8
func (m *MsgDeleteHowIsResponse) GetCode() int32
func (*MsgDeleteHowIsResponse) GetMessage ¶ added in v0.0.8
func (m *MsgDeleteHowIsResponse) GetMessage() string
func (*MsgDeleteHowIsResponse) Marshal ¶
func (m *MsgDeleteHowIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteHowIsResponse) MarshalTo ¶
func (m *MsgDeleteHowIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteHowIsResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteHowIsResponse) ProtoMessage ¶
func (*MsgDeleteHowIsResponse) ProtoMessage()
func (*MsgDeleteHowIsResponse) Reset ¶
func (m *MsgDeleteHowIsResponse) Reset()
func (*MsgDeleteHowIsResponse) Size ¶
func (m *MsgDeleteHowIsResponse) Size() (n int)
func (*MsgDeleteHowIsResponse) String ¶
func (m *MsgDeleteHowIsResponse) String() string
func (*MsgDeleteHowIsResponse) Unmarshal ¶
func (m *MsgDeleteHowIsResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteHowIsResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteHowIsResponse) XXX_DiscardUnknown()
func (*MsgDeleteHowIsResponse) XXX_Marshal ¶
func (m *MsgDeleteHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteHowIsResponse) XXX_Merge ¶
func (m *MsgDeleteHowIsResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteHowIsResponse) XXX_Size ¶
func (m *MsgDeleteHowIsResponse) XXX_Size() int
func (*MsgDeleteHowIsResponse) XXX_Unmarshal ¶
func (m *MsgDeleteHowIsResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateChannel // // CreateChannel creates a new channel doc on the channel module of the blockchain. CreateChannel(context.Context, *MsgCreateChannel) (*MsgCreateChannelResponse, error) // UpdateChannel // // UpdateChannel updates an existing channel doc on the channel module of the blockchain. UpdateChannel(context.Context, *MsgUpdateChannel) (*MsgUpdateChannelResponse, error) // DeactivateChannel // // DeactivateChannel deactivates an existing channel doc on the channel module of the blockchain. DeactivateChannel(context.Context, *MsgDeactivateChannel) (*MsgDeactivateChannelResponse, error) // CreateHowIs // // CreateHowIs creates a new how is doc on the channel module of the blockchain. CreateHowIs(context.Context, *MsgCreateHowIs) (*MsgCreateHowIsResponse, error) // UpdateHowIs // // UpdateHowIs updates an existing how is doc on the channel module of the blockchain. UpdateHowIs(context.Context, *MsgUpdateHowIs) (*MsgUpdateHowIsResponse, error) // DeleteHowIs // // DeleteHowIs deletes an existing how is doc on the channel module of the blockchain. DeleteHowIs(context.Context, *MsgDeleteHowIs) (*MsgDeleteHowIsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateChannel ¶
type MsgUpdateChannel 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"` ObjectToRegister *types.ObjectDoc `protobuf:"bytes,5,opt,name=object_to_register,json=objectToRegister,proto3" json:"object_to_register,omitempty"` Session *types1.Session `protobuf:"bytes,6,opt,name=session,proto3" json:"session,omitempty"` }
func NewMsgUpdateChannel ¶
func NewMsgUpdateChannelFromBuf ¶ added in v0.0.11
func NewMsgUpdateChannelFromBuf(msg *ct.MsgUpdateChannel) *MsgUpdateChannel
func (*MsgUpdateChannel) Descriptor ¶
func (*MsgUpdateChannel) Descriptor() ([]byte, []int)
func (*MsgUpdateChannel) GetCreator ¶
func (m *MsgUpdateChannel) GetCreator() string
func (*MsgUpdateChannel) GetDescription ¶ added in v0.0.8
func (m *MsgUpdateChannel) GetDescription() string
func (*MsgUpdateChannel) GetDid ¶
func (m *MsgUpdateChannel) GetDid() string
func (*MsgUpdateChannel) GetLabel ¶ added in v0.0.8
func (m *MsgUpdateChannel) GetLabel() string
func (*MsgUpdateChannel) GetObjectToRegister ¶ added in v0.0.8
func (m *MsgUpdateChannel) GetObjectToRegister() *types.ObjectDoc
func (*MsgUpdateChannel) GetSession ¶ added in v0.0.8
func (m *MsgUpdateChannel) GetSession() *types1.Session
func (*MsgUpdateChannel) GetSignBytes ¶
func (msg *MsgUpdateChannel) GetSignBytes() []byte
func (*MsgUpdateChannel) GetSigners ¶
func (msg *MsgUpdateChannel) GetSigners() []sdk.AccAddress
func (*MsgUpdateChannel) Marshal ¶
func (m *MsgUpdateChannel) Marshal() (dAtA []byte, err error)
func (*MsgUpdateChannel) MarshalToSizedBuffer ¶
func (m *MsgUpdateChannel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateChannel) ProtoMessage ¶
func (*MsgUpdateChannel) ProtoMessage()
func (*MsgUpdateChannel) Reset ¶
func (m *MsgUpdateChannel) Reset()
func (*MsgUpdateChannel) Route ¶
func (msg *MsgUpdateChannel) Route() string
func (*MsgUpdateChannel) Size ¶
func (m *MsgUpdateChannel) Size() (n int)
func (*MsgUpdateChannel) String ¶
func (m *MsgUpdateChannel) String() string
func (*MsgUpdateChannel) Type ¶
func (msg *MsgUpdateChannel) Type() string
func (*MsgUpdateChannel) Unmarshal ¶
func (m *MsgUpdateChannel) Unmarshal(dAtA []byte) error
func (*MsgUpdateChannel) ValidateBasic ¶
func (msg *MsgUpdateChannel) ValidateBasic() error
func (*MsgUpdateChannel) XXX_DiscardUnknown ¶
func (m *MsgUpdateChannel) XXX_DiscardUnknown()
func (*MsgUpdateChannel) XXX_Marshal ¶
func (m *MsgUpdateChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateChannel) XXX_Merge ¶
func (m *MsgUpdateChannel) XXX_Merge(src proto.Message)
func (*MsgUpdateChannel) XXX_Size ¶
func (m *MsgUpdateChannel) XXX_Size() int
func (*MsgUpdateChannel) XXX_Unmarshal ¶
func (m *MsgUpdateChannel) XXX_Unmarshal(b []byte) error
type MsgUpdateChannelResponse ¶
type MsgUpdateChannelResponse struct { // Code of the response Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // Message of the response Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func (*MsgUpdateChannelResponse) Descriptor ¶
func (*MsgUpdateChannelResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateChannelResponse) GetCode ¶ added in v0.0.8
func (m *MsgUpdateChannelResponse) GetCode() int32
func (*MsgUpdateChannelResponse) GetMessage ¶ added in v0.0.8
func (m *MsgUpdateChannelResponse) GetMessage() string
func (*MsgUpdateChannelResponse) Marshal ¶
func (m *MsgUpdateChannelResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateChannelResponse) MarshalTo ¶
func (m *MsgUpdateChannelResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateChannelResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateChannelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateChannelResponse) ProtoMessage ¶
func (*MsgUpdateChannelResponse) ProtoMessage()
func (*MsgUpdateChannelResponse) Reset ¶
func (m *MsgUpdateChannelResponse) Reset()
func (*MsgUpdateChannelResponse) Size ¶
func (m *MsgUpdateChannelResponse) Size() (n int)
func (*MsgUpdateChannelResponse) String ¶
func (m *MsgUpdateChannelResponse) String() string
func (*MsgUpdateChannelResponse) Unmarshal ¶
func (m *MsgUpdateChannelResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateChannelResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateChannelResponse) XXX_DiscardUnknown()
func (*MsgUpdateChannelResponse) XXX_Marshal ¶
func (m *MsgUpdateChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateChannelResponse) XXX_Merge ¶
func (m *MsgUpdateChannelResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateChannelResponse) XXX_Size ¶
func (m *MsgUpdateChannelResponse) XXX_Size() int
func (*MsgUpdateChannelResponse) XXX_Unmarshal ¶
func (m *MsgUpdateChannelResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateHowIs ¶
type MsgUpdateHowIs 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"` Channel *ChannelDoc `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"` }
func NewMsgUpdateHowIs ¶
func NewMsgUpdateHowIs( creator string, did string, c *ChannelDoc, ) *MsgUpdateHowIs
func (*MsgUpdateHowIs) Descriptor ¶
func (*MsgUpdateHowIs) Descriptor() ([]byte, []int)
func (*MsgUpdateHowIs) GetChannel ¶ added in v0.0.8
func (m *MsgUpdateHowIs) GetChannel() *ChannelDoc
func (*MsgUpdateHowIs) GetCreator ¶
func (m *MsgUpdateHowIs) GetCreator() string
func (*MsgUpdateHowIs) GetDid ¶
func (m *MsgUpdateHowIs) GetDid() string
func (*MsgUpdateHowIs) GetSignBytes ¶
func (msg *MsgUpdateHowIs) GetSignBytes() []byte
func (*MsgUpdateHowIs) GetSigners ¶
func (msg *MsgUpdateHowIs) GetSigners() []sdk.AccAddress
func (*MsgUpdateHowIs) Marshal ¶
func (m *MsgUpdateHowIs) Marshal() (dAtA []byte, err error)
func (*MsgUpdateHowIs) MarshalToSizedBuffer ¶
func (m *MsgUpdateHowIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateHowIs) ProtoMessage ¶
func (*MsgUpdateHowIs) ProtoMessage()
func (*MsgUpdateHowIs) Reset ¶
func (m *MsgUpdateHowIs) Reset()
func (*MsgUpdateHowIs) Route ¶
func (msg *MsgUpdateHowIs) Route() string
func (*MsgUpdateHowIs) Size ¶
func (m *MsgUpdateHowIs) Size() (n int)
func (*MsgUpdateHowIs) String ¶
func (m *MsgUpdateHowIs) String() string
func (*MsgUpdateHowIs) Type ¶
func (msg *MsgUpdateHowIs) Type() string
func (*MsgUpdateHowIs) Unmarshal ¶
func (m *MsgUpdateHowIs) Unmarshal(dAtA []byte) error
func (*MsgUpdateHowIs) ValidateBasic ¶
func (msg *MsgUpdateHowIs) ValidateBasic() error
func (*MsgUpdateHowIs) XXX_DiscardUnknown ¶
func (m *MsgUpdateHowIs) XXX_DiscardUnknown()
func (*MsgUpdateHowIs) XXX_Marshal ¶
func (m *MsgUpdateHowIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateHowIs) XXX_Merge ¶
func (m *MsgUpdateHowIs) XXX_Merge(src proto.Message)
func (*MsgUpdateHowIs) XXX_Size ¶
func (m *MsgUpdateHowIs) XXX_Size() int
func (*MsgUpdateHowIs) XXX_Unmarshal ¶
func (m *MsgUpdateHowIs) XXX_Unmarshal(b []byte) error
type MsgUpdateHowIsResponse ¶
type MsgUpdateHowIsResponse struct { // Code of the response Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // Message of the response Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` HowIs *HowIs `protobuf:"bytes,3,opt,name=how_is,json=howIs,proto3" json:"how_is,omitempty"` }
func (*MsgUpdateHowIsResponse) Descriptor ¶
func (*MsgUpdateHowIsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateHowIsResponse) GetCode ¶ added in v0.0.8
func (m *MsgUpdateHowIsResponse) GetCode() int32
func (*MsgUpdateHowIsResponse) GetHowIs ¶ added in v0.0.8
func (m *MsgUpdateHowIsResponse) GetHowIs() *HowIs
func (*MsgUpdateHowIsResponse) GetMessage ¶ added in v0.0.8
func (m *MsgUpdateHowIsResponse) GetMessage() string
func (*MsgUpdateHowIsResponse) Marshal ¶
func (m *MsgUpdateHowIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateHowIsResponse) MarshalTo ¶
func (m *MsgUpdateHowIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateHowIsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateHowIsResponse) ProtoMessage ¶
func (*MsgUpdateHowIsResponse) ProtoMessage()
func (*MsgUpdateHowIsResponse) Reset ¶
func (m *MsgUpdateHowIsResponse) Reset()
func (*MsgUpdateHowIsResponse) Size ¶
func (m *MsgUpdateHowIsResponse) Size() (n int)
func (*MsgUpdateHowIsResponse) String ¶
func (m *MsgUpdateHowIsResponse) String() string
func (*MsgUpdateHowIsResponse) Unmarshal ¶
func (m *MsgUpdateHowIsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateHowIsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateHowIsResponse) XXX_DiscardUnknown()
func (*MsgUpdateHowIsResponse) XXX_Marshal ¶
func (m *MsgUpdateHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateHowIsResponse) XXX_Merge ¶
func (m *MsgUpdateHowIsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateHowIsResponse) XXX_Size ¶
func (m *MsgUpdateHowIsResponse) XXX_Size() int
func (*MsgUpdateHowIsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateHowIsResponse) 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 QueryAllHowIsRequest ¶
type QueryAllHowIsRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Session *types.Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` }
func (*QueryAllHowIsRequest) Descriptor ¶
func (*QueryAllHowIsRequest) Descriptor() ([]byte, []int)
func (*QueryAllHowIsRequest) GetPagination ¶
func (m *QueryAllHowIsRequest) GetPagination() *query.PageRequest
func (*QueryAllHowIsRequest) GetSession ¶ added in v0.0.8
func (m *QueryAllHowIsRequest) GetSession() *types.Session
func (*QueryAllHowIsRequest) Marshal ¶
func (m *QueryAllHowIsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllHowIsRequest) MarshalTo ¶
func (m *QueryAllHowIsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllHowIsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllHowIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllHowIsRequest) ProtoMessage ¶
func (*QueryAllHowIsRequest) ProtoMessage()
func (*QueryAllHowIsRequest) Reset ¶
func (m *QueryAllHowIsRequest) Reset()
func (*QueryAllHowIsRequest) Size ¶
func (m *QueryAllHowIsRequest) Size() (n int)
func (*QueryAllHowIsRequest) String ¶
func (m *QueryAllHowIsRequest) String() string
func (*QueryAllHowIsRequest) Unmarshal ¶
func (m *QueryAllHowIsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllHowIsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllHowIsRequest) XXX_DiscardUnknown()
func (*QueryAllHowIsRequest) XXX_Marshal ¶
func (m *QueryAllHowIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllHowIsRequest) XXX_Merge ¶
func (m *QueryAllHowIsRequest) XXX_Merge(src proto.Message)
func (*QueryAllHowIsRequest) XXX_Size ¶
func (m *QueryAllHowIsRequest) XXX_Size() int
func (*QueryAllHowIsRequest) XXX_Unmarshal ¶
func (m *QueryAllHowIsRequest) XXX_Unmarshal(b []byte) error
type QueryAllHowIsResponse ¶
type QueryAllHowIsResponse struct { HowIs []HowIs `protobuf:"bytes,1,rep,name=how_is,json=howIs,proto3" json:"how_is"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllHowIsResponse) Descriptor ¶
func (*QueryAllHowIsResponse) Descriptor() ([]byte, []int)
func (*QueryAllHowIsResponse) GetHowIs ¶
func (m *QueryAllHowIsResponse) GetHowIs() []HowIs
func (*QueryAllHowIsResponse) GetPagination ¶
func (m *QueryAllHowIsResponse) GetPagination() *query.PageResponse
func (*QueryAllHowIsResponse) Marshal ¶
func (m *QueryAllHowIsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllHowIsResponse) MarshalTo ¶
func (m *QueryAllHowIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllHowIsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllHowIsResponse) ProtoMessage ¶
func (*QueryAllHowIsResponse) ProtoMessage()
func (*QueryAllHowIsResponse) Reset ¶
func (m *QueryAllHowIsResponse) Reset()
func (*QueryAllHowIsResponse) Size ¶
func (m *QueryAllHowIsResponse) Size() (n int)
func (*QueryAllHowIsResponse) String ¶
func (m *QueryAllHowIsResponse) String() string
func (*QueryAllHowIsResponse) Unmarshal ¶
func (m *QueryAllHowIsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllHowIsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllHowIsResponse) XXX_DiscardUnknown()
func (*QueryAllHowIsResponse) XXX_Marshal ¶
func (m *QueryAllHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllHowIsResponse) XXX_Merge ¶
func (m *QueryAllHowIsResponse) XXX_Merge(src proto.Message)
func (*QueryAllHowIsResponse) XXX_Size ¶
func (m *QueryAllHowIsResponse) XXX_Size() int
func (*QueryAllHowIsResponse) XXX_Unmarshal ¶
func (m *QueryAllHowIsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Params // // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // HowIs // // Queries a HowIs by did. HowIs(ctx context.Context, in *QueryHowIsRequest, opts ...grpc.CallOption) (*QueryHowIsResponse, error) // HowIsAll // // Queries a list of HowIs items. HowIsAll(ctx context.Context, in *QueryAllHowIsRequest, opts ...grpc.CallOption) (*QueryAllHowIsResponse, 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 QueryHowIsRequest ¶ added in v0.0.10
type QueryHowIsRequest struct { Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"` Session *types.Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"` }
func (*QueryHowIsRequest) Descriptor ¶ added in v0.0.10
func (*QueryHowIsRequest) Descriptor() ([]byte, []int)
func (*QueryHowIsRequest) GetDid ¶ added in v0.0.10
func (m *QueryHowIsRequest) GetDid() string
func (*QueryHowIsRequest) GetSession ¶ added in v0.0.10
func (m *QueryHowIsRequest) GetSession() *types.Session
func (*QueryHowIsRequest) Marshal ¶ added in v0.0.10
func (m *QueryHowIsRequest) Marshal() (dAtA []byte, err error)
func (*QueryHowIsRequest) MarshalTo ¶ added in v0.0.10
func (m *QueryHowIsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryHowIsRequest) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *QueryHowIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHowIsRequest) ProtoMessage ¶ added in v0.0.10
func (*QueryHowIsRequest) ProtoMessage()
func (*QueryHowIsRequest) Reset ¶ added in v0.0.10
func (m *QueryHowIsRequest) Reset()
func (*QueryHowIsRequest) Size ¶ added in v0.0.10
func (m *QueryHowIsRequest) Size() (n int)
func (*QueryHowIsRequest) String ¶ added in v0.0.10
func (m *QueryHowIsRequest) String() string
func (*QueryHowIsRequest) Unmarshal ¶ added in v0.0.10
func (m *QueryHowIsRequest) Unmarshal(dAtA []byte) error
func (*QueryHowIsRequest) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *QueryHowIsRequest) XXX_DiscardUnknown()
func (*QueryHowIsRequest) XXX_Marshal ¶ added in v0.0.10
func (m *QueryHowIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHowIsRequest) XXX_Merge ¶ added in v0.0.10
func (m *QueryHowIsRequest) XXX_Merge(src proto.Message)
func (*QueryHowIsRequest) XXX_Size ¶ added in v0.0.10
func (m *QueryHowIsRequest) XXX_Size() int
func (*QueryHowIsRequest) XXX_Unmarshal ¶ added in v0.0.10
func (m *QueryHowIsRequest) XXX_Unmarshal(b []byte) error
type QueryHowIsResponse ¶ added in v0.0.10
type QueryHowIsResponse struct {
HowIs HowIs `protobuf:"bytes,1,opt,name=how_is,json=howIs,proto3" json:"how_is"`
}
func (*QueryHowIsResponse) Descriptor ¶ added in v0.0.10
func (*QueryHowIsResponse) Descriptor() ([]byte, []int)
func (*QueryHowIsResponse) GetHowIs ¶ added in v0.0.10
func (m *QueryHowIsResponse) GetHowIs() HowIs
func (*QueryHowIsResponse) Marshal ¶ added in v0.0.10
func (m *QueryHowIsResponse) Marshal() (dAtA []byte, err error)
func (*QueryHowIsResponse) MarshalTo ¶ added in v0.0.10
func (m *QueryHowIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryHowIsResponse) MarshalToSizedBuffer ¶ added in v0.0.10
func (m *QueryHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHowIsResponse) ProtoMessage ¶ added in v0.0.10
func (*QueryHowIsResponse) ProtoMessage()
func (*QueryHowIsResponse) Reset ¶ added in v0.0.10
func (m *QueryHowIsResponse) Reset()
func (*QueryHowIsResponse) Size ¶ added in v0.0.10
func (m *QueryHowIsResponse) Size() (n int)
func (*QueryHowIsResponse) String ¶ added in v0.0.10
func (m *QueryHowIsResponse) String() string
func (*QueryHowIsResponse) Unmarshal ¶ added in v0.0.10
func (m *QueryHowIsResponse) Unmarshal(dAtA []byte) error
func (*QueryHowIsResponse) XXX_DiscardUnknown ¶ added in v0.0.10
func (m *QueryHowIsResponse) XXX_DiscardUnknown()
func (*QueryHowIsResponse) XXX_Marshal ¶ added in v0.0.10
func (m *QueryHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHowIsResponse) XXX_Merge ¶ added in v0.0.10
func (m *QueryHowIsResponse) XXX_Merge(src proto.Message)
func (*QueryHowIsResponse) XXX_Size ¶ added in v0.0.10
func (m *QueryHowIsResponse) XXX_Size() int
func (*QueryHowIsResponse) XXX_Unmarshal ¶ added in v0.0.10
func (m *QueryHowIsResponse) 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 { // Params // // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // HowIs // // Queries a HowIs by did. HowIs(context.Context, *QueryHowIsRequest) (*QueryHowIsResponse, error) // HowIsAll // // Queries a list of HowIs items. HowIsAll(context.Context, *QueryAllHowIsRequest) (*QueryAllHowIsResponse, 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) CreateChannel ¶
func (*UnimplementedMsgServer) CreateChannel(ctx context.Context, req *MsgCreateChannel) (*MsgCreateChannelResponse, error)
func (*UnimplementedMsgServer) CreateHowIs ¶
func (*UnimplementedMsgServer) CreateHowIs(ctx context.Context, req *MsgCreateHowIs) (*MsgCreateHowIsResponse, error)
func (*UnimplementedMsgServer) DeactivateChannel ¶ added in v0.0.9
func (*UnimplementedMsgServer) DeactivateChannel(ctx context.Context, req *MsgDeactivateChannel) (*MsgDeactivateChannelResponse, error)
func (*UnimplementedMsgServer) DeleteHowIs ¶
func (*UnimplementedMsgServer) DeleteHowIs(ctx context.Context, req *MsgDeleteHowIs) (*MsgDeleteHowIsResponse, error)
func (*UnimplementedMsgServer) UpdateChannel ¶
func (*UnimplementedMsgServer) UpdateChannel(ctx context.Context, req *MsgUpdateChannel) (*MsgUpdateChannelResponse, error)
func (*UnimplementedMsgServer) UpdateHowIs ¶
func (*UnimplementedMsgServer) UpdateHowIs(ctx context.Context, req *MsgUpdateHowIs) (*MsgUpdateHowIsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) HowIs ¶
func (*UnimplementedQueryServer) HowIs(ctx context.Context, req *QueryHowIsRequest) (*QueryHowIsResponse, error)
func (*UnimplementedQueryServer) HowIsAll ¶
func (*UnimplementedQueryServer) HowIsAll(ctx context.Context, req *QueryAllHowIsRequest) (*QueryAllHowIsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Source Files ¶
- channel.go
- channel.pb.go
- codec.go
- config.pb.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- how_is.go
- how_is.pb.go
- key_how_is.go
- keys.go
- message_create_channel.go
- message_deactivate_channel.go
- message_update_channel.go
- messages_how_is.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go