types

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: GPL-3.0 Imports: 31 Imported by: 4

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
)
View Source
const (
	TypeMsgCreateHowIs = "create_how_is"
	TypeMsgUpdateHowIs = "update_how_is"
	TypeMsgDeleteHowIs = "delete_how_is"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	// HowIsKeyPrefix is the prefix to retrieve all HowIs
	HowIsKeyPrefix = "HowIs/value/"
)
View Source
const TypeMsgCreateChannel = "create_channel"
View Source
const TypeMsgDeactivateChannel = "delete_channel"
View Source
const TypeMsgUpdateChannel = "update_channel"

Variables

View Source
var (
	ErrInvalidLengthChannel        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChannel          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChannel = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthConfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample          = sdkerrors.Register(ModuleName, 1100, "sample error")
	ErrInactiveChannel = sdkerrors.Register(ModuleName, 1104, "Requested channel has been deactivated")
)

x/channel module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthHowIs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHowIs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHowIs = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func HowIsKey

func HowIsKey(
	index string,
) []byte

HowIsKey returns the store key to retrieve a HowIs from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

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 RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

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 (*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) MarshalTo

func (m *ChannelMessage) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Config) Marshal

func (m *Config) Marshal() (dAtA []byte, err error)

func (*Config) MarshalTo

func (m *Config) MarshalTo(dAtA []byte) (int, error)

func (*Config) MarshalToSizedBuffer

func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) Size

func (m *Config) Size() (n int)

func (*Config) String

func (m *Config) String() string

func (*Config) Unmarshal

func (m *Config) Unmarshal(dAtA []byte) error

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 (*HowIs) Descriptor

func (*HowIs) Descriptor() ([]byte, []int)

func (*HowIs) GetChannel added in v0.0.8

func (m *HowIs) GetChannel() *ChannelDoc

func (*HowIs) GetCreator

func (m *HowIs) GetCreator() string

func (*HowIs) GetDid

func (m *HowIs) GetDid() string

func (*HowIs) GetIsActive added in v0.0.9

func (m *HowIs) GetIsActive() bool

func (*HowIs) GetTimestamp added in v0.0.9

func (m *HowIs) GetTimestamp() int64

func (*HowIs) Marshal

func (m *HowIs) Marshal() (dAtA []byte, err error)

func (*HowIs) MarshalTo

func (m *HowIs) MarshalTo(dAtA []byte) (int, error)

func (*HowIs) MarshalToSizedBuffer

func (m *HowIs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HowIs) ProtoMessage

func (*HowIs) ProtoMessage()

func (*HowIs) Reset

func (m *HowIs) Reset()

func (*HowIs) Size

func (m *HowIs) Size() (n int)

func (*HowIs) String

func (m *HowIs) String() string

func (*HowIs) Unmarshal

func (m *HowIs) Unmarshal(dAtA []byte) error

func (*HowIs) XXX_DiscardUnknown

func (m *HowIs) XXX_DiscardUnknown()

func (*HowIs) XXX_Marshal

func (m *HowIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HowIs) XXX_Merge

func (m *HowIs) XXX_Merge(src proto.Message)

func (*HowIs) XXX_Size

func (m *HowIs) XXX_Size() int

func (*HowIs) XXX_Unmarshal

func (m *HowIs) XXX_Unmarshal(b []byte) error

type MintKeeper

type MintKeeper interface {
}

type MsgClient

type MsgClient interface {
	CreateChannel(ctx context.Context, in *MsgCreateChannel, opts ...grpc.CallOption) (*MsgCreateChannelResponse, error)
	DeactivateChannel(ctx context.Context, in *MsgDeactivateChannel, opts ...grpc.CallOption) (*MsgDeactivateChannelResponse, error)
	UpdateChannel(ctx context.Context, in *MsgUpdateChannel, opts ...grpc.CallOption) (*MsgUpdateChannelResponse, error)
	CreateHowIs(ctx context.Context, in *MsgCreateHowIs, opts ...grpc.CallOption) (*MsgCreateHowIsResponse, error)
	UpdateHowIs(ctx context.Context, in *MsgUpdateHowIs, opts ...grpc.CallOption) (*MsgUpdateHowIsResponse, error)
	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 NewMsgCreateChannel(creator string, name string, description string, object *ot.ObjectDoc, ttl int64, maxSize int64) *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) MarshalTo

func (m *MsgCreateChannel) MarshalTo(dAtA []byte) (int, 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,
	index string,
	did string,
	c *ChannelDoc,

) *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) MarshalTo

func (m *MsgCreateHowIs) MarshalTo(dAtA []byte) (int, 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 (*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 (*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,
	index 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) MarshalTo

func (m *MsgDeleteHowIs) MarshalTo(dAtA []byte) (int, 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 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 NewMsgUpdateChannel(creator string, did string) *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) MarshalTo

func (m *MsgUpdateChannel) MarshalTo(dAtA []byte) (int, 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,
	index 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) MarshalTo

func (m *MsgUpdateHowIs) MarshalTo(dAtA []byte) (int, 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 DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

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=howIs,proto3" json:"howIs"`
	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 {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a HowIs by index.
	HowIs(ctx context.Context, in *QueryGetHowIsRequest, opts ...grpc.CallOption) (*QueryGetHowIsResponse, error)
	// 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 QueryGetHowIsRequest

type QueryGetHowIsRequest struct {
	Index   string         `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Session *types.Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
}

func (*QueryGetHowIsRequest) Descriptor

func (*QueryGetHowIsRequest) Descriptor() ([]byte, []int)

func (*QueryGetHowIsRequest) GetIndex

func (m *QueryGetHowIsRequest) GetIndex() string

func (*QueryGetHowIsRequest) GetSession added in v0.0.8

func (m *QueryGetHowIsRequest) GetSession() *types.Session

func (*QueryGetHowIsRequest) Marshal

func (m *QueryGetHowIsRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetHowIsRequest) MarshalTo

func (m *QueryGetHowIsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetHowIsRequest) MarshalToSizedBuffer

func (m *QueryGetHowIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetHowIsRequest) ProtoMessage

func (*QueryGetHowIsRequest) ProtoMessage()

func (*QueryGetHowIsRequest) Reset

func (m *QueryGetHowIsRequest) Reset()

func (*QueryGetHowIsRequest) Size

func (m *QueryGetHowIsRequest) Size() (n int)

func (*QueryGetHowIsRequest) String

func (m *QueryGetHowIsRequest) String() string

func (*QueryGetHowIsRequest) Unmarshal

func (m *QueryGetHowIsRequest) Unmarshal(dAtA []byte) error

func (*QueryGetHowIsRequest) XXX_DiscardUnknown

func (m *QueryGetHowIsRequest) XXX_DiscardUnknown()

func (*QueryGetHowIsRequest) XXX_Marshal

func (m *QueryGetHowIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetHowIsRequest) XXX_Merge

func (m *QueryGetHowIsRequest) XXX_Merge(src proto.Message)

func (*QueryGetHowIsRequest) XXX_Size

func (m *QueryGetHowIsRequest) XXX_Size() int

func (*QueryGetHowIsRequest) XXX_Unmarshal

func (m *QueryGetHowIsRequest) XXX_Unmarshal(b []byte) error

type QueryGetHowIsResponse

type QueryGetHowIsResponse struct {
	HowIs HowIs `protobuf:"bytes,1,opt,name=howIs,proto3" json:"howIs"`
}

func (*QueryGetHowIsResponse) Descriptor

func (*QueryGetHowIsResponse) Descriptor() ([]byte, []int)

func (*QueryGetHowIsResponse) GetHowIs

func (m *QueryGetHowIsResponse) GetHowIs() HowIs

func (*QueryGetHowIsResponse) Marshal

func (m *QueryGetHowIsResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetHowIsResponse) MarshalTo

func (m *QueryGetHowIsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetHowIsResponse) MarshalToSizedBuffer

func (m *QueryGetHowIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetHowIsResponse) ProtoMessage

func (*QueryGetHowIsResponse) ProtoMessage()

func (*QueryGetHowIsResponse) Reset

func (m *QueryGetHowIsResponse) Reset()

func (*QueryGetHowIsResponse) Size

func (m *QueryGetHowIsResponse) Size() (n int)

func (*QueryGetHowIsResponse) String

func (m *QueryGetHowIsResponse) String() string

func (*QueryGetHowIsResponse) Unmarshal

func (m *QueryGetHowIsResponse) Unmarshal(dAtA []byte) error

func (*QueryGetHowIsResponse) XXX_DiscardUnknown

func (m *QueryGetHowIsResponse) XXX_DiscardUnknown()

func (*QueryGetHowIsResponse) XXX_Marshal

func (m *QueryGetHowIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetHowIsResponse) XXX_Merge

func (m *QueryGetHowIsResponse) XXX_Merge(src proto.Message)

func (*QueryGetHowIsResponse) XXX_Size

func (m *QueryGetHowIsResponse) XXX_Size() int

func (*QueryGetHowIsResponse) XXX_Unmarshal

func (m *QueryGetHowIsResponse) 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 HowIs by index.
	HowIs(context.Context, *QueryGetHowIsRequest) (*QueryGetHowIsResponse, error)
	// 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) CreateHowIs

func (*UnimplementedMsgServer) DeactivateChannel added in v0.0.9

func (*UnimplementedMsgServer) DeleteHowIs

func (*UnimplementedMsgServer) UpdateChannel

func (*UnimplementedMsgServer) UpdateHowIs

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) HowIs

func (*UnimplementedQueryServer) HowIsAll

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL