Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyDomainAssociation(srcClientDomain, dstClientDomain types.ClientDomain) []byte
- func KeyForwardDomain(name string) []byte
- func KeyPrefixBytes(prefix uint8) []byte
- func KeyReverseDomain(port, channel string) []byte
- func NewDomainAssociation(status uint32, srcClient, dstClient types.ClientDomain) types.DomainAssociation
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- 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 DomainAssociationCreatePacketAcknowledgement
- func (*DomainAssociationCreatePacketAcknowledgement) Descriptor() ([]byte, []int)
- func (p DomainAssociationCreatePacketAcknowledgement) GetBytes() []byte
- func (m *DomainAssociationCreatePacketAcknowledgement) Marshal() (dAtA []byte, err error)
- func (m *DomainAssociationCreatePacketAcknowledgement) MarshalTo(dAtA []byte) (int, error)
- func (m *DomainAssociationCreatePacketAcknowledgement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DomainAssociationCreatePacketAcknowledgement) ProtoMessage()
- func (m *DomainAssociationCreatePacketAcknowledgement) Reset()
- func (m *DomainAssociationCreatePacketAcknowledgement) Size() (n int)
- func (m *DomainAssociationCreatePacketAcknowledgement) String() string
- func (p DomainAssociationCreatePacketAcknowledgement) Type() string
- func (m *DomainAssociationCreatePacketAcknowledgement) Unmarshal(dAtA []byte) error
- func (p DomainAssociationCreatePacketAcknowledgement) ValidateBasic() error
- func (m *DomainAssociationCreatePacketAcknowledgement) XXX_DiscardUnknown()
- func (m *DomainAssociationCreatePacketAcknowledgement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DomainAssociationCreatePacketAcknowledgement) XXX_Merge(src proto.Message)
- func (m *DomainAssociationCreatePacketAcknowledgement) XXX_Size() int
- func (m *DomainAssociationCreatePacketAcknowledgement) XXX_Unmarshal(b []byte) error
- type DomainAssociationCreatePacketData
- func (*DomainAssociationCreatePacketData) Descriptor() ([]byte, []int)
- func (p DomainAssociationCreatePacketData) GetBytes() []byte
- func (p DomainAssociationCreatePacketData) GetTimeoutHeight() ibcclienttypes.Height
- func (p DomainAssociationCreatePacketData) GetTimeoutTimestamp() uint64
- func (m *DomainAssociationCreatePacketData) Marshal() (dAtA []byte, err error)
- func (m *DomainAssociationCreatePacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *DomainAssociationCreatePacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DomainAssociationCreatePacketData) ProtoMessage()
- func (m *DomainAssociationCreatePacketData) Reset()
- func (m *DomainAssociationCreatePacketData) Size() (n int)
- func (m *DomainAssociationCreatePacketData) String() string
- func (p DomainAssociationCreatePacketData) Type() string
- func (m *DomainAssociationCreatePacketData) Unmarshal(dAtA []byte) error
- func (p DomainAssociationCreatePacketData) ValidateBasic() error
- func (m *DomainAssociationCreatePacketData) XXX_DiscardUnknown()
- func (m *DomainAssociationCreatePacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DomainAssociationCreatePacketData) XXX_Merge(src proto.Message)
- func (m *DomainAssociationCreatePacketData) XXX_Size() int
- func (m *DomainAssociationCreatePacketData) XXX_Unmarshal(b []byte) error
- type DomainAssociationResultPacketAcknowledgement
- func (*DomainAssociationResultPacketAcknowledgement) Descriptor() ([]byte, []int)
- func (p DomainAssociationResultPacketAcknowledgement) GetBytes() []byte
- func (m *DomainAssociationResultPacketAcknowledgement) Marshal() (dAtA []byte, err error)
- func (m *DomainAssociationResultPacketAcknowledgement) MarshalTo(dAtA []byte) (int, error)
- func (m *DomainAssociationResultPacketAcknowledgement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DomainAssociationResultPacketAcknowledgement) ProtoMessage()
- func (m *DomainAssociationResultPacketAcknowledgement) Reset()
- func (m *DomainAssociationResultPacketAcknowledgement) Size() (n int)
- func (m *DomainAssociationResultPacketAcknowledgement) String() string
- func (p DomainAssociationResultPacketAcknowledgement) Type() string
- func (m *DomainAssociationResultPacketAcknowledgement) Unmarshal(dAtA []byte) error
- func (p DomainAssociationResultPacketAcknowledgement) ValidateBasic() error
- func (m *DomainAssociationResultPacketAcknowledgement) XXX_DiscardUnknown()
- func (m *DomainAssociationResultPacketAcknowledgement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DomainAssociationResultPacketAcknowledgement) XXX_Merge(src proto.Message)
- func (m *DomainAssociationResultPacketAcknowledgement) XXX_Size() int
- func (m *DomainAssociationResultPacketAcknowledgement) XXX_Unmarshal(b []byte) error
- type DomainAssociationResultPacketData
- func (*DomainAssociationResultPacketData) Descriptor() ([]byte, []int)
- func (p DomainAssociationResultPacketData) GetBytes() []byte
- func (p DomainAssociationResultPacketData) GetTimeoutHeight() ibcclienttypes.Height
- func (p DomainAssociationResultPacketData) GetTimeoutTimestamp() uint64
- func (m *DomainAssociationResultPacketData) Marshal() (dAtA []byte, err error)
- func (m *DomainAssociationResultPacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *DomainAssociationResultPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DomainAssociationResultPacketData) ProtoMessage()
- func (m *DomainAssociationResultPacketData) Reset()
- func (m *DomainAssociationResultPacketData) Size() (n int)
- func (m *DomainAssociationResultPacketData) String() string
- func (p DomainAssociationResultPacketData) Type() string
- func (m *DomainAssociationResultPacketData) Unmarshal(dAtA []byte) error
- func (p DomainAssociationResultPacketData) ValidateBasic() error
- func (m *DomainAssociationResultPacketData) XXX_DiscardUnknown()
- func (m *DomainAssociationResultPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DomainAssociationResultPacketData) XXX_Merge(src proto.Message)
- func (m *DomainAssociationResultPacketData) XXX_Size() int
- func (m *DomainAssociationResultPacketData) XXX_Unmarshal(b []byte) error
- type DomainChannelInfo
- func (*DomainChannelInfo) Descriptor() ([]byte, []int)
- func (m *DomainChannelInfo) Marshal() (dAtA []byte, err error)
- func (m *DomainChannelInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DomainChannelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DomainChannelInfo) ProtoMessage()
- func (m *DomainChannelInfo) Reset()
- func (m *DomainChannelInfo) Size() (n int)
- func (m *DomainChannelInfo) String() string
- func (m *DomainChannelInfo) Unmarshal(dAtA []byte) error
- func (m *DomainChannelInfo) XXX_DiscardUnknown()
- func (m *DomainChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DomainChannelInfo) XXX_Merge(src proto.Message)
- func (m *DomainChannelInfo) XXX_Size() int
- func (m *DomainChannelInfo) XXX_Unmarshal(b []byte) error
- type DomainInfo
- func (*DomainInfo) Descriptor() ([]byte, []int)
- func (m *DomainInfo) Marshal() (dAtA []byte, err error)
- func (m *DomainInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DomainInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DomainInfo) ProtoMessage()
- func (m *DomainInfo) Reset()
- func (m *DomainInfo) Size() (n int)
- func (m *DomainInfo) String() string
- func (m *DomainInfo) Unmarshal(dAtA []byte) error
- func (m *DomainInfo) XXX_DiscardUnknown()
- func (m *DomainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DomainInfo) XXX_Merge(src proto.Message)
- func (m *DomainInfo) XXX_Size() int
- func (m *DomainInfo) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDomainRequest
- func (*QueryDomainRequest) Descriptor() ([]byte, []int)
- func (m *QueryDomainRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDomainRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDomainRequest) ProtoMessage()
- func (m *QueryDomainRequest) Reset()
- func (m *QueryDomainRequest) Size() (n int)
- func (m *QueryDomainRequest) String() string
- func (m *QueryDomainRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDomainRequest) XXX_DiscardUnknown()
- func (m *QueryDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDomainRequest) XXX_Merge(src proto.Message)
- func (m *QueryDomainRequest) XXX_Size() int
- func (m *QueryDomainRequest) XXX_Unmarshal(b []byte) error
- type QueryDomainResponse
- func (*QueryDomainResponse) Descriptor() ([]byte, []int)
- func (m *QueryDomainResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDomainResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDomainResponse) ProtoMessage()
- func (m *QueryDomainResponse) Reset()
- func (m *QueryDomainResponse) Size() (n int)
- func (m *QueryDomainResponse) String() string
- func (m *QueryDomainResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDomainResponse) XXX_DiscardUnknown()
- func (m *QueryDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDomainResponse) XXX_Merge(src proto.Message)
- func (m *QueryDomainResponse) XXX_Size() int
- func (m *QueryDomainResponse) XXX_Unmarshal(b []byte) error
- type QueryDomainsRequest
- func (*QueryDomainsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDomainsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDomainsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDomainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDomainsRequest) ProtoMessage()
- func (m *QueryDomainsRequest) Reset()
- func (m *QueryDomainsRequest) Size() (n int)
- func (m *QueryDomainsRequest) String() string
- func (m *QueryDomainsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDomainsRequest) XXX_DiscardUnknown()
- func (m *QueryDomainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDomainsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDomainsRequest) XXX_Size() int
- func (m *QueryDomainsRequest) XXX_Unmarshal(b []byte) error
- type QueryDomainsResponse
- func (*QueryDomainsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDomainsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDomainsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDomainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDomainsResponse) ProtoMessage()
- func (m *QueryDomainsResponse) Reset()
- func (m *QueryDomainsResponse) Size() (n int)
- func (m *QueryDomainsResponse) String() string
- func (m *QueryDomainsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDomainsResponse) XXX_DiscardUnknown()
- func (m *QueryDomainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDomainsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDomainsResponse) XXX_Size() int
- func (m *QueryDomainsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RegisterDomainPacketAcknowledgement
- func (*RegisterDomainPacketAcknowledgement) Descriptor() ([]byte, []int)
- func (p RegisterDomainPacketAcknowledgement) GetBytes() []byte
- func (m *RegisterDomainPacketAcknowledgement) Marshal() (dAtA []byte, err error)
- func (m *RegisterDomainPacketAcknowledgement) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterDomainPacketAcknowledgement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterDomainPacketAcknowledgement) ProtoMessage()
- func (m *RegisterDomainPacketAcknowledgement) Reset()
- func (m *RegisterDomainPacketAcknowledgement) Size() (n int)
- func (m *RegisterDomainPacketAcknowledgement) String() string
- func (p RegisterDomainPacketAcknowledgement) Type() string
- func (m *RegisterDomainPacketAcknowledgement) Unmarshal(dAtA []byte) error
- func (p RegisterDomainPacketAcknowledgement) ValidateBasic() error
- func (m *RegisterDomainPacketAcknowledgement) XXX_DiscardUnknown()
- func (m *RegisterDomainPacketAcknowledgement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterDomainPacketAcknowledgement) XXX_Merge(src proto.Message)
- func (m *RegisterDomainPacketAcknowledgement) XXX_Size() int
- func (m *RegisterDomainPacketAcknowledgement) XXX_Unmarshal(b []byte) error
- type RegisterDomainPacketData
- func (*RegisterDomainPacketData) Descriptor() ([]byte, []int)
- func (p RegisterDomainPacketData) GetBytes() []byte
- func (p RegisterDomainPacketData) GetTimeoutHeight() ibcclienttypes.Height
- func (p RegisterDomainPacketData) GetTimeoutTimestamp() uint64
- func (m *RegisterDomainPacketData) Marshal() (dAtA []byte, err error)
- func (m *RegisterDomainPacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterDomainPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterDomainPacketData) ProtoMessage()
- func (m *RegisterDomainPacketData) Reset()
- func (m *RegisterDomainPacketData) Size() (n int)
- func (m *RegisterDomainPacketData) String() string
- func (p RegisterDomainPacketData) Type() string
- func (m *RegisterDomainPacketData) Unmarshal(dAtA []byte) error
- func (p RegisterDomainPacketData) ValidateBasic() error
- func (m *RegisterDomainPacketData) XXX_DiscardUnknown()
- func (m *RegisterDomainPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterDomainPacketData) XXX_Merge(src proto.Message)
- func (m *RegisterDomainPacketData) XXX_Size() int
- func (m *RegisterDomainPacketData) XXX_Unmarshal(b []byte) error
- type UnimplementedQueryServer
Constants ¶
const ( KeyForwardDomainPrefix uint8 = iota KeyReverseDomainPrefix KeyDomainAssociationPrefix )
const ( PacketTypeRegisterChannelDomain = "register_channel_domain" PacketTypeRegisterChannelDomainAcknowledgement = "register_channel_domain_acknowledgement" PacketTypeDomainAssociationCreate = "domain_association_create" PacketTypeDomainAssociationCreateAcknowledgement = "domain_association_create_acknowledgement" PacketTypeDomainAssociationResult = "domain_association_result" PacketTypeDomainAssociationResultAcknowledgement = "domain_association_result_acknowledgement" )
const ( STATUS_OK uint32 = iota + 1 STATUS_FAILED )
const ( DomainAssociationStatusInit uint32 = iota + 1 DomainAssociationStatusConfirmed )
const (
// StoreKey to be used when creating the KVStore
StoreKey = "ibc-dns-server"
)
Variables ¶
var ( // ModuleCdc references the global x/ibc-transfer module codec. Note, the codec // should ONLY be used in certain instances of tests and for JSON encoding. // // The actual codec used for serialization should be provided to x/ibc-transfer and // defined at the application level. ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) PacketCdc = func() func() *codec.ProtoCodec { var once sync.Once var cdc *codec.ProtoCodec return func() *codec.ProtoCodec { once.Do(func() { cdc = setupCodec() }) return cdc } }() )
Functions ¶
func KeyDomainAssociation ¶
func KeyDomainAssociation(srcClientDomain, dstClientDomain types.ClientDomain) []byte
KeyDomainAssociation returns the key of DomainAssociation
func KeyForwardDomain ¶
KeyForwardDomain returns the key of record stores ibc-dns info
func KeyPrefixBytes ¶
KeyPrefixBytes return the key prefix bytes from a URL string format
func KeyReverseDomain ¶
KeyReverseDomain returns the key of record stores domain name
func NewDomainAssociation ¶
func NewDomainAssociation(status uint32, srcClient, dstClient types.ClientDomain) types.DomainAssociation
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces register the ibc transfer module interfaces to protobuf Any.
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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type DomainAssociationCreatePacketAcknowledgement ¶
type DomainAssociationCreatePacketAcknowledgement struct { Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` }
func NewDomainAssociationCreatePacketAcknowledgement ¶
func NewDomainAssociationCreatePacketAcknowledgement(status uint32, msg string) DomainAssociationCreatePacketAcknowledgement
func (*DomainAssociationCreatePacketAcknowledgement) Descriptor ¶
func (*DomainAssociationCreatePacketAcknowledgement) Descriptor() ([]byte, []int)
func (DomainAssociationCreatePacketAcknowledgement) GetBytes ¶
func (p DomainAssociationCreatePacketAcknowledgement) GetBytes() []byte
func (*DomainAssociationCreatePacketAcknowledgement) Marshal ¶
func (m *DomainAssociationCreatePacketAcknowledgement) Marshal() (dAtA []byte, err error)
func (*DomainAssociationCreatePacketAcknowledgement) MarshalTo ¶
func (m *DomainAssociationCreatePacketAcknowledgement) MarshalTo(dAtA []byte) (int, error)
func (*DomainAssociationCreatePacketAcknowledgement) MarshalToSizedBuffer ¶
func (m *DomainAssociationCreatePacketAcknowledgement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DomainAssociationCreatePacketAcknowledgement) ProtoMessage ¶
func (*DomainAssociationCreatePacketAcknowledgement) ProtoMessage()
func (*DomainAssociationCreatePacketAcknowledgement) Reset ¶
func (m *DomainAssociationCreatePacketAcknowledgement) Reset()
func (*DomainAssociationCreatePacketAcknowledgement) Size ¶
func (m *DomainAssociationCreatePacketAcknowledgement) Size() (n int)
func (*DomainAssociationCreatePacketAcknowledgement) String ¶
func (m *DomainAssociationCreatePacketAcknowledgement) String() string
func (DomainAssociationCreatePacketAcknowledgement) Type ¶
func (p DomainAssociationCreatePacketAcknowledgement) Type() string
func (*DomainAssociationCreatePacketAcknowledgement) Unmarshal ¶
func (m *DomainAssociationCreatePacketAcknowledgement) Unmarshal(dAtA []byte) error
func (DomainAssociationCreatePacketAcknowledgement) ValidateBasic ¶
func (p DomainAssociationCreatePacketAcknowledgement) ValidateBasic() error
func (*DomainAssociationCreatePacketAcknowledgement) XXX_DiscardUnknown ¶
func (m *DomainAssociationCreatePacketAcknowledgement) XXX_DiscardUnknown()
func (*DomainAssociationCreatePacketAcknowledgement) XXX_Marshal ¶
func (m *DomainAssociationCreatePacketAcknowledgement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DomainAssociationCreatePacketAcknowledgement) XXX_Merge ¶
func (m *DomainAssociationCreatePacketAcknowledgement) XXX_Merge(src proto.Message)
func (*DomainAssociationCreatePacketAcknowledgement) XXX_Size ¶
func (m *DomainAssociationCreatePacketAcknowledgement) XXX_Size() int
func (*DomainAssociationCreatePacketAcknowledgement) XXX_Unmarshal ¶
func (m *DomainAssociationCreatePacketAcknowledgement) XXX_Unmarshal(b []byte) error
type DomainAssociationCreatePacketData ¶
type DomainAssociationCreatePacketData struct { SrcClient types.ClientDomain `protobuf:"bytes,1,opt,name=src_client,json=srcClient,proto3" json:"src_client"` DstClient types.ClientDomain `protobuf:"bytes,2,opt,name=dst_client,json=dstClient,proto3" json:"dst_client"` }
func NewDomainAssociationCreatePacketData ¶
func NewDomainAssociationCreatePacketData(srcClientDomain, dstClientDomain types.ClientDomain) DomainAssociationCreatePacketData
func (*DomainAssociationCreatePacketData) Descriptor ¶
func (*DomainAssociationCreatePacketData) Descriptor() ([]byte, []int)
func (DomainAssociationCreatePacketData) GetBytes ¶
func (p DomainAssociationCreatePacketData) GetBytes() []byte
func (DomainAssociationCreatePacketData) GetTimeoutHeight ¶
func (p DomainAssociationCreatePacketData) GetTimeoutHeight() ibcclienttypes.Height
func (DomainAssociationCreatePacketData) GetTimeoutTimestamp ¶
func (p DomainAssociationCreatePacketData) GetTimeoutTimestamp() uint64
func (*DomainAssociationCreatePacketData) Marshal ¶
func (m *DomainAssociationCreatePacketData) Marshal() (dAtA []byte, err error)
func (*DomainAssociationCreatePacketData) MarshalTo ¶
func (m *DomainAssociationCreatePacketData) MarshalTo(dAtA []byte) (int, error)
func (*DomainAssociationCreatePacketData) MarshalToSizedBuffer ¶
func (m *DomainAssociationCreatePacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DomainAssociationCreatePacketData) ProtoMessage ¶
func (*DomainAssociationCreatePacketData) ProtoMessage()
func (*DomainAssociationCreatePacketData) Reset ¶
func (m *DomainAssociationCreatePacketData) Reset()
func (*DomainAssociationCreatePacketData) Size ¶
func (m *DomainAssociationCreatePacketData) Size() (n int)
func (*DomainAssociationCreatePacketData) String ¶
func (m *DomainAssociationCreatePacketData) String() string
func (DomainAssociationCreatePacketData) Type ¶
func (p DomainAssociationCreatePacketData) Type() string
func (*DomainAssociationCreatePacketData) Unmarshal ¶
func (m *DomainAssociationCreatePacketData) Unmarshal(dAtA []byte) error
func (DomainAssociationCreatePacketData) ValidateBasic ¶
func (p DomainAssociationCreatePacketData) ValidateBasic() error
func (*DomainAssociationCreatePacketData) XXX_DiscardUnknown ¶
func (m *DomainAssociationCreatePacketData) XXX_DiscardUnknown()
func (*DomainAssociationCreatePacketData) XXX_Marshal ¶
func (m *DomainAssociationCreatePacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DomainAssociationCreatePacketData) XXX_Merge ¶
func (m *DomainAssociationCreatePacketData) XXX_Merge(src proto.Message)
func (*DomainAssociationCreatePacketData) XXX_Size ¶
func (m *DomainAssociationCreatePacketData) XXX_Size() int
func (*DomainAssociationCreatePacketData) XXX_Unmarshal ¶
func (m *DomainAssociationCreatePacketData) XXX_Unmarshal(b []byte) error
type DomainAssociationResultPacketAcknowledgement ¶
type DomainAssociationResultPacketAcknowledgement struct { }
func NewDomainAssociationResultPacketAcknowledgement ¶
func NewDomainAssociationResultPacketAcknowledgement() DomainAssociationResultPacketAcknowledgement
func (*DomainAssociationResultPacketAcknowledgement) Descriptor ¶
func (*DomainAssociationResultPacketAcknowledgement) Descriptor() ([]byte, []int)
func (DomainAssociationResultPacketAcknowledgement) GetBytes ¶
func (p DomainAssociationResultPacketAcknowledgement) GetBytes() []byte
func (*DomainAssociationResultPacketAcknowledgement) Marshal ¶
func (m *DomainAssociationResultPacketAcknowledgement) Marshal() (dAtA []byte, err error)
func (*DomainAssociationResultPacketAcknowledgement) MarshalTo ¶
func (m *DomainAssociationResultPacketAcknowledgement) MarshalTo(dAtA []byte) (int, error)
func (*DomainAssociationResultPacketAcknowledgement) MarshalToSizedBuffer ¶
func (m *DomainAssociationResultPacketAcknowledgement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DomainAssociationResultPacketAcknowledgement) ProtoMessage ¶
func (*DomainAssociationResultPacketAcknowledgement) ProtoMessage()
func (*DomainAssociationResultPacketAcknowledgement) Reset ¶
func (m *DomainAssociationResultPacketAcknowledgement) Reset()
func (*DomainAssociationResultPacketAcknowledgement) Size ¶
func (m *DomainAssociationResultPacketAcknowledgement) Size() (n int)
func (*DomainAssociationResultPacketAcknowledgement) String ¶
func (m *DomainAssociationResultPacketAcknowledgement) String() string
func (DomainAssociationResultPacketAcknowledgement) Type ¶
func (p DomainAssociationResultPacketAcknowledgement) Type() string
func (*DomainAssociationResultPacketAcknowledgement) Unmarshal ¶
func (m *DomainAssociationResultPacketAcknowledgement) Unmarshal(dAtA []byte) error
func (DomainAssociationResultPacketAcknowledgement) ValidateBasic ¶
func (p DomainAssociationResultPacketAcknowledgement) ValidateBasic() error
func (*DomainAssociationResultPacketAcknowledgement) XXX_DiscardUnknown ¶
func (m *DomainAssociationResultPacketAcknowledgement) XXX_DiscardUnknown()
func (*DomainAssociationResultPacketAcknowledgement) XXX_Marshal ¶
func (m *DomainAssociationResultPacketAcknowledgement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DomainAssociationResultPacketAcknowledgement) XXX_Merge ¶
func (m *DomainAssociationResultPacketAcknowledgement) XXX_Merge(src proto.Message)
func (*DomainAssociationResultPacketAcknowledgement) XXX_Size ¶
func (m *DomainAssociationResultPacketAcknowledgement) XXX_Size() int
func (*DomainAssociationResultPacketAcknowledgement) XXX_Unmarshal ¶
func (m *DomainAssociationResultPacketAcknowledgement) XXX_Unmarshal(b []byte) error
type DomainAssociationResultPacketData ¶
type DomainAssociationResultPacketData struct { Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` CounterpartyDomain types.LocalDomain `protobuf:"bytes,2,opt,name=counterparty_domain,json=counterpartyDomain,proto3" json:"counterparty_domain"` ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` }
func NewDomainAssociationResultPacketData ¶
func NewDomainAssociationResultPacketData( status uint32, counterpartyDomainName string, dnsID types.LocalDNSID, clientID string, ) DomainAssociationResultPacketData
func (*DomainAssociationResultPacketData) Descriptor ¶
func (*DomainAssociationResultPacketData) Descriptor() ([]byte, []int)
func (DomainAssociationResultPacketData) GetBytes ¶
func (p DomainAssociationResultPacketData) GetBytes() []byte
func (DomainAssociationResultPacketData) GetTimeoutHeight ¶
func (p DomainAssociationResultPacketData) GetTimeoutHeight() ibcclienttypes.Height
func (DomainAssociationResultPacketData) GetTimeoutTimestamp ¶
func (p DomainAssociationResultPacketData) GetTimeoutTimestamp() uint64
func (*DomainAssociationResultPacketData) Marshal ¶
func (m *DomainAssociationResultPacketData) Marshal() (dAtA []byte, err error)
func (*DomainAssociationResultPacketData) MarshalTo ¶
func (m *DomainAssociationResultPacketData) MarshalTo(dAtA []byte) (int, error)
func (*DomainAssociationResultPacketData) MarshalToSizedBuffer ¶
func (m *DomainAssociationResultPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DomainAssociationResultPacketData) ProtoMessage ¶
func (*DomainAssociationResultPacketData) ProtoMessage()
func (*DomainAssociationResultPacketData) Reset ¶
func (m *DomainAssociationResultPacketData) Reset()
func (*DomainAssociationResultPacketData) Size ¶
func (m *DomainAssociationResultPacketData) Size() (n int)
func (*DomainAssociationResultPacketData) String ¶
func (m *DomainAssociationResultPacketData) String() string
func (DomainAssociationResultPacketData) Type ¶
func (p DomainAssociationResultPacketData) Type() string
func (*DomainAssociationResultPacketData) Unmarshal ¶
func (m *DomainAssociationResultPacketData) Unmarshal(dAtA []byte) error
func (DomainAssociationResultPacketData) ValidateBasic ¶
func (p DomainAssociationResultPacketData) ValidateBasic() error
func (*DomainAssociationResultPacketData) XXX_DiscardUnknown ¶
func (m *DomainAssociationResultPacketData) XXX_DiscardUnknown()
func (*DomainAssociationResultPacketData) XXX_Marshal ¶
func (m *DomainAssociationResultPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DomainAssociationResultPacketData) XXX_Merge ¶
func (m *DomainAssociationResultPacketData) XXX_Merge(src proto.Message)
func (*DomainAssociationResultPacketData) XXX_Size ¶
func (m *DomainAssociationResultPacketData) XXX_Size() int
func (*DomainAssociationResultPacketData) XXX_Unmarshal ¶
func (m *DomainAssociationResultPacketData) XXX_Unmarshal(b []byte) error
type DomainChannelInfo ¶
type DomainChannelInfo struct { Channel types.LocalChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel"` Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` }
func (*DomainChannelInfo) Descriptor ¶
func (*DomainChannelInfo) Descriptor() ([]byte, []int)
func (*DomainChannelInfo) Marshal ¶
func (m *DomainChannelInfo) Marshal() (dAtA []byte, err error)
func (*DomainChannelInfo) MarshalTo ¶
func (m *DomainChannelInfo) MarshalTo(dAtA []byte) (int, error)
func (*DomainChannelInfo) MarshalToSizedBuffer ¶
func (m *DomainChannelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DomainChannelInfo) ProtoMessage ¶
func (*DomainChannelInfo) ProtoMessage()
func (*DomainChannelInfo) Reset ¶
func (m *DomainChannelInfo) Reset()
func (*DomainChannelInfo) Size ¶
func (m *DomainChannelInfo) Size() (n int)
func (*DomainChannelInfo) String ¶
func (m *DomainChannelInfo) String() string
func (*DomainChannelInfo) Unmarshal ¶
func (m *DomainChannelInfo) Unmarshal(dAtA []byte) error
func (*DomainChannelInfo) XXX_DiscardUnknown ¶
func (m *DomainChannelInfo) XXX_DiscardUnknown()
func (*DomainChannelInfo) XXX_Marshal ¶
func (m *DomainChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DomainChannelInfo) XXX_Merge ¶
func (m *DomainChannelInfo) XXX_Merge(src proto.Message)
func (*DomainChannelInfo) XXX_Size ¶
func (m *DomainChannelInfo) XXX_Size() int
func (*DomainChannelInfo) XXX_Unmarshal ¶
func (m *DomainChannelInfo) XXX_Unmarshal(b []byte) error
type DomainInfo ¶
type DomainInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` DnsId types.LocalDNSID `protobuf:"bytes,3,opt,name=dns_id,json=dnsId,proto3" json:"dns_id"` Channel types.LocalChannel `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel"` }
func (*DomainInfo) Descriptor ¶
func (*DomainInfo) Descriptor() ([]byte, []int)
func (*DomainInfo) Marshal ¶
func (m *DomainInfo) Marshal() (dAtA []byte, err error)
func (*DomainInfo) MarshalToSizedBuffer ¶
func (m *DomainInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DomainInfo) ProtoMessage ¶
func (*DomainInfo) ProtoMessage()
func (*DomainInfo) Reset ¶
func (m *DomainInfo) Reset()
func (*DomainInfo) Size ¶
func (m *DomainInfo) Size() (n int)
func (*DomainInfo) String ¶
func (m *DomainInfo) String() string
func (*DomainInfo) Unmarshal ¶
func (m *DomainInfo) Unmarshal(dAtA []byte) error
func (*DomainInfo) XXX_DiscardUnknown ¶
func (m *DomainInfo) XXX_DiscardUnknown()
func (*DomainInfo) XXX_Marshal ¶
func (m *DomainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DomainInfo) XXX_Merge ¶
func (m *DomainInfo) XXX_Merge(src proto.Message)
func (*DomainInfo) XXX_Size ¶
func (m *DomainInfo) XXX_Size() int
func (*DomainInfo) XXX_Unmarshal ¶
func (m *DomainInfo) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // DenomTrace queries a denomination trace information. Domains(ctx context.Context, in *QueryDomainsRequest, opts ...grpc.CallOption) (*QueryDomainsResponse, 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 QueryDomainRequest ¶
type QueryDomainRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (*QueryDomainRequest) Descriptor ¶
func (*QueryDomainRequest) Descriptor() ([]byte, []int)
func (*QueryDomainRequest) Marshal ¶
func (m *QueryDomainRequest) Marshal() (dAtA []byte, err error)
func (*QueryDomainRequest) MarshalTo ¶
func (m *QueryDomainRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDomainRequest) MarshalToSizedBuffer ¶
func (m *QueryDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDomainRequest) ProtoMessage ¶
func (*QueryDomainRequest) ProtoMessage()
func (*QueryDomainRequest) Reset ¶
func (m *QueryDomainRequest) Reset()
func (*QueryDomainRequest) Size ¶
func (m *QueryDomainRequest) Size() (n int)
func (*QueryDomainRequest) String ¶
func (m *QueryDomainRequest) String() string
func (*QueryDomainRequest) Unmarshal ¶
func (m *QueryDomainRequest) Unmarshal(dAtA []byte) error
func (*QueryDomainRequest) XXX_DiscardUnknown ¶
func (m *QueryDomainRequest) XXX_DiscardUnknown()
func (*QueryDomainRequest) XXX_Marshal ¶
func (m *QueryDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDomainRequest) XXX_Merge ¶
func (m *QueryDomainRequest) XXX_Merge(src proto.Message)
func (*QueryDomainRequest) XXX_Size ¶
func (m *QueryDomainRequest) XXX_Size() int
func (*QueryDomainRequest) XXX_Unmarshal ¶
func (m *QueryDomainRequest) XXX_Unmarshal(b []byte) error
type QueryDomainResponse ¶
type QueryDomainResponse struct {
Domain DomainInfo `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain"`
}
func (*QueryDomainResponse) Descriptor ¶
func (*QueryDomainResponse) Descriptor() ([]byte, []int)
func (*QueryDomainResponse) Marshal ¶
func (m *QueryDomainResponse) Marshal() (dAtA []byte, err error)
func (*QueryDomainResponse) MarshalTo ¶
func (m *QueryDomainResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDomainResponse) MarshalToSizedBuffer ¶
func (m *QueryDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDomainResponse) ProtoMessage ¶
func (*QueryDomainResponse) ProtoMessage()
func (*QueryDomainResponse) Reset ¶
func (m *QueryDomainResponse) Reset()
func (*QueryDomainResponse) Size ¶
func (m *QueryDomainResponse) Size() (n int)
func (*QueryDomainResponse) String ¶
func (m *QueryDomainResponse) String() string
func (*QueryDomainResponse) Unmarshal ¶
func (m *QueryDomainResponse) Unmarshal(dAtA []byte) error
func (*QueryDomainResponse) XXX_DiscardUnknown ¶
func (m *QueryDomainResponse) XXX_DiscardUnknown()
func (*QueryDomainResponse) XXX_Marshal ¶
func (m *QueryDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDomainResponse) XXX_Merge ¶
func (m *QueryDomainResponse) XXX_Merge(src proto.Message)
func (*QueryDomainResponse) XXX_Size ¶
func (m *QueryDomainResponse) XXX_Size() int
func (*QueryDomainResponse) XXX_Unmarshal ¶
func (m *QueryDomainResponse) XXX_Unmarshal(b []byte) error
type QueryDomainsRequest ¶
type QueryDomainsRequest struct { }
func (*QueryDomainsRequest) Descriptor ¶
func (*QueryDomainsRequest) Descriptor() ([]byte, []int)
func (*QueryDomainsRequest) Marshal ¶
func (m *QueryDomainsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDomainsRequest) MarshalTo ¶
func (m *QueryDomainsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDomainsRequest) MarshalToSizedBuffer ¶
func (m *QueryDomainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDomainsRequest) ProtoMessage ¶
func (*QueryDomainsRequest) ProtoMessage()
func (*QueryDomainsRequest) Reset ¶
func (m *QueryDomainsRequest) Reset()
func (*QueryDomainsRequest) Size ¶
func (m *QueryDomainsRequest) Size() (n int)
func (*QueryDomainsRequest) String ¶
func (m *QueryDomainsRequest) String() string
func (*QueryDomainsRequest) Unmarshal ¶
func (m *QueryDomainsRequest) Unmarshal(dAtA []byte) error
func (*QueryDomainsRequest) XXX_DiscardUnknown ¶
func (m *QueryDomainsRequest) XXX_DiscardUnknown()
func (*QueryDomainsRequest) XXX_Marshal ¶
func (m *QueryDomainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDomainsRequest) XXX_Merge ¶
func (m *QueryDomainsRequest) XXX_Merge(src proto.Message)
func (*QueryDomainsRequest) XXX_Size ¶
func (m *QueryDomainsRequest) XXX_Size() int
func (*QueryDomainsRequest) XXX_Unmarshal ¶
func (m *QueryDomainsRequest) XXX_Unmarshal(b []byte) error
type QueryDomainsResponse ¶
type QueryDomainsResponse struct {
Domains []DomainInfo `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains"`
}
func (*QueryDomainsResponse) Descriptor ¶
func (*QueryDomainsResponse) Descriptor() ([]byte, []int)
func (*QueryDomainsResponse) Marshal ¶
func (m *QueryDomainsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDomainsResponse) MarshalTo ¶
func (m *QueryDomainsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDomainsResponse) MarshalToSizedBuffer ¶
func (m *QueryDomainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDomainsResponse) ProtoMessage ¶
func (*QueryDomainsResponse) ProtoMessage()
func (*QueryDomainsResponse) Reset ¶
func (m *QueryDomainsResponse) Reset()
func (*QueryDomainsResponse) Size ¶
func (m *QueryDomainsResponse) Size() (n int)
func (*QueryDomainsResponse) String ¶
func (m *QueryDomainsResponse) String() string
func (*QueryDomainsResponse) Unmarshal ¶
func (m *QueryDomainsResponse) Unmarshal(dAtA []byte) error
func (*QueryDomainsResponse) XXX_DiscardUnknown ¶
func (m *QueryDomainsResponse) XXX_DiscardUnknown()
func (*QueryDomainsResponse) XXX_Marshal ¶
func (m *QueryDomainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDomainsResponse) XXX_Merge ¶
func (m *QueryDomainsResponse) XXX_Merge(src proto.Message)
func (*QueryDomainsResponse) XXX_Size ¶
func (m *QueryDomainsResponse) XXX_Size() int
func (*QueryDomainsResponse) XXX_Unmarshal ¶
func (m *QueryDomainsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // DenomTrace queries a denomination trace information. Domains(context.Context, *QueryDomainsRequest) (*QueryDomainsResponse, error) }
QueryServer is the server API for Query service.
type RegisterDomainPacketAcknowledgement ¶
type RegisterDomainPacketAcknowledgement struct { Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` DomainName string `protobuf:"bytes,2,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` }
func NewRegisterDomainPacketAcknowledgement ¶
func NewRegisterDomainPacketAcknowledgement(status uint32, name string) RegisterDomainPacketAcknowledgement
func (*RegisterDomainPacketAcknowledgement) Descriptor ¶
func (*RegisterDomainPacketAcknowledgement) Descriptor() ([]byte, []int)
func (RegisterDomainPacketAcknowledgement) GetBytes ¶
func (p RegisterDomainPacketAcknowledgement) GetBytes() []byte
func (*RegisterDomainPacketAcknowledgement) Marshal ¶
func (m *RegisterDomainPacketAcknowledgement) Marshal() (dAtA []byte, err error)
func (*RegisterDomainPacketAcknowledgement) MarshalTo ¶
func (m *RegisterDomainPacketAcknowledgement) MarshalTo(dAtA []byte) (int, error)
func (*RegisterDomainPacketAcknowledgement) MarshalToSizedBuffer ¶
func (m *RegisterDomainPacketAcknowledgement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterDomainPacketAcknowledgement) ProtoMessage ¶
func (*RegisterDomainPacketAcknowledgement) ProtoMessage()
func (*RegisterDomainPacketAcknowledgement) Reset ¶
func (m *RegisterDomainPacketAcknowledgement) Reset()
func (*RegisterDomainPacketAcknowledgement) Size ¶
func (m *RegisterDomainPacketAcknowledgement) Size() (n int)
func (*RegisterDomainPacketAcknowledgement) String ¶
func (m *RegisterDomainPacketAcknowledgement) String() string
func (RegisterDomainPacketAcknowledgement) Type ¶
func (p RegisterDomainPacketAcknowledgement) Type() string
func (*RegisterDomainPacketAcknowledgement) Unmarshal ¶
func (m *RegisterDomainPacketAcknowledgement) Unmarshal(dAtA []byte) error
func (RegisterDomainPacketAcknowledgement) ValidateBasic ¶
func (p RegisterDomainPacketAcknowledgement) ValidateBasic() error
func (*RegisterDomainPacketAcknowledgement) XXX_DiscardUnknown ¶
func (m *RegisterDomainPacketAcknowledgement) XXX_DiscardUnknown()
func (*RegisterDomainPacketAcknowledgement) XXX_Marshal ¶
func (m *RegisterDomainPacketAcknowledgement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterDomainPacketAcknowledgement) XXX_Merge ¶
func (m *RegisterDomainPacketAcknowledgement) XXX_Merge(src proto.Message)
func (*RegisterDomainPacketAcknowledgement) XXX_Size ¶
func (m *RegisterDomainPacketAcknowledgement) XXX_Size() int
func (*RegisterDomainPacketAcknowledgement) XXX_Unmarshal ¶
func (m *RegisterDomainPacketAcknowledgement) XXX_Unmarshal(b []byte) error
type RegisterDomainPacketData ¶
type RegisterDomainPacketData struct { DomainName string `protobuf:"bytes,1,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` }
func NewRegisterDomainPacketData ¶
func NewRegisterDomainPacketData(name string, metadata []byte) RegisterDomainPacketData
func (*RegisterDomainPacketData) Descriptor ¶
func (*RegisterDomainPacketData) Descriptor() ([]byte, []int)
func (RegisterDomainPacketData) GetBytes ¶
func (p RegisterDomainPacketData) GetBytes() []byte
func (RegisterDomainPacketData) GetTimeoutHeight ¶
func (p RegisterDomainPacketData) GetTimeoutHeight() ibcclienttypes.Height
func (RegisterDomainPacketData) GetTimeoutTimestamp ¶
func (p RegisterDomainPacketData) GetTimeoutTimestamp() uint64
func (*RegisterDomainPacketData) Marshal ¶
func (m *RegisterDomainPacketData) Marshal() (dAtA []byte, err error)
func (*RegisterDomainPacketData) MarshalTo ¶
func (m *RegisterDomainPacketData) MarshalTo(dAtA []byte) (int, error)
func (*RegisterDomainPacketData) MarshalToSizedBuffer ¶
func (m *RegisterDomainPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterDomainPacketData) ProtoMessage ¶
func (*RegisterDomainPacketData) ProtoMessage()
func (*RegisterDomainPacketData) Reset ¶
func (m *RegisterDomainPacketData) Reset()
func (*RegisterDomainPacketData) Size ¶
func (m *RegisterDomainPacketData) Size() (n int)
func (*RegisterDomainPacketData) String ¶
func (m *RegisterDomainPacketData) String() string
func (RegisterDomainPacketData) Type ¶
func (p RegisterDomainPacketData) Type() string
func (*RegisterDomainPacketData) Unmarshal ¶
func (m *RegisterDomainPacketData) Unmarshal(dAtA []byte) error
func (RegisterDomainPacketData) ValidateBasic ¶
func (p RegisterDomainPacketData) ValidateBasic() error
func (*RegisterDomainPacketData) XXX_DiscardUnknown ¶
func (m *RegisterDomainPacketData) XXX_DiscardUnknown()
func (*RegisterDomainPacketData) XXX_Marshal ¶
func (m *RegisterDomainPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterDomainPacketData) XXX_Merge ¶
func (m *RegisterDomainPacketData) XXX_Merge(src proto.Message)
func (*RegisterDomainPacketData) XXX_Size ¶
func (m *RegisterDomainPacketData) XXX_Size() int
func (*RegisterDomainPacketData) XXX_Unmarshal ¶
func (m *RegisterDomainPacketData) XXX_Unmarshal(b []byte) error
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Domains ¶
func (*UnimplementedQueryServer) Domains(ctx context.Context, req *QueryDomainsRequest) (*QueryDomainsResponse, error)