Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type BankKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAllRecordsRequest
- func (*QueryAllRecordsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllRecordsRequest) GetDomainName() string
- func (m *QueryAllRecordsRequest) GetDomainParent() string
- func (m *QueryAllRecordsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllRecordsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllRecordsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllRecordsRequest) ProtoMessage()
- func (m *QueryAllRecordsRequest) Reset()
- func (m *QueryAllRecordsRequest) Size() (n int)
- func (m *QueryAllRecordsRequest) String() string
- func (m *QueryAllRecordsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllRecordsRequest) XXX_DiscardUnknown()
- func (m *QueryAllRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllRecordsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllRecordsRequest) XXX_Size() int
- func (m *QueryAllRecordsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllRecordsResponse
- func (*QueryAllRecordsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllRecordsResponse) GetValues() map[string]*types.Record
- func (m *QueryAllRecordsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllRecordsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllRecordsResponse) ProtoMessage()
- func (m *QueryAllRecordsResponse) Reset()
- func (m *QueryAllRecordsResponse) Size() (n int)
- func (m *QueryAllRecordsResponse) String() string
- func (m *QueryAllRecordsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllRecordsResponse) XXX_DiscardUnknown()
- func (m *QueryAllRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllRecordsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllRecordsResponse) XXX_Size() int
- func (m *QueryAllRecordsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDnsRecordRequest
- func (*QueryDnsRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryDnsRecordRequest) GetDnsRecordType() string
- func (m *QueryDnsRecordRequest) GetDomainName() string
- func (m *QueryDnsRecordRequest) GetDomainParent() string
- func (m *QueryDnsRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDnsRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDnsRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDnsRecordRequest) ProtoMessage()
- func (m *QueryDnsRecordRequest) Reset()
- func (m *QueryDnsRecordRequest) Size() (n int)
- func (m *QueryDnsRecordRequest) String() string
- func (m *QueryDnsRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDnsRecordRequest) XXX_DiscardUnknown()
- func (m *QueryDnsRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDnsRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryDnsRecordRequest) XXX_Size() int
- func (m *QueryDnsRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryDnsRecordResponse
- func (*QueryDnsRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryDnsRecordResponse) GetValue() *types.DnsRecord
- func (m *QueryDnsRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDnsRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDnsRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDnsRecordResponse) ProtoMessage()
- func (m *QueryDnsRecordResponse) Reset()
- func (m *QueryDnsRecordResponse) Size() (n int)
- func (m *QueryDnsRecordResponse) String() string
- func (m *QueryDnsRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDnsRecordResponse) XXX_DiscardUnknown()
- func (m *QueryDnsRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDnsRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryDnsRecordResponse) XXX_Size() int
- func (m *QueryDnsRecordResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTextRecordRequest
- func (*QueryTextRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryTextRecordRequest) GetDomainName() string
- func (m *QueryTextRecordRequest) GetDomainParent() string
- func (m *QueryTextRecordRequest) GetKey() string
- func (m *QueryTextRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTextRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTextRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTextRecordRequest) ProtoMessage()
- func (m *QueryTextRecordRequest) Reset()
- func (m *QueryTextRecordRequest) Size() (n int)
- func (m *QueryTextRecordRequest) String() string
- func (m *QueryTextRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTextRecordRequest) XXX_DiscardUnknown()
- func (m *QueryTextRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTextRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryTextRecordRequest) XXX_Size() int
- func (m *QueryTextRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryTextRecordResponse
- func (*QueryTextRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryTextRecordResponse) GetValue() *types.TextRecord
- func (m *QueryTextRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTextRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTextRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTextRecordResponse) ProtoMessage()
- func (m *QueryTextRecordResponse) Reset()
- func (m *QueryTextRecordResponse) Size() (n int)
- func (m *QueryTextRecordResponse) String() string
- func (m *QueryTextRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTextRecordResponse) XXX_DiscardUnknown()
- func (m *QueryTextRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTextRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryTextRecordResponse) XXX_Size() int
- func (m *QueryTextRecordResponse) XXX_Unmarshal(b []byte) error
- type QueryWalletRecordRequest
- func (*QueryWalletRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryWalletRecordRequest) GetDomainName() string
- func (m *QueryWalletRecordRequest) GetDomainParent() string
- func (m *QueryWalletRecordRequest) GetWalletRecordType() string
- func (m *QueryWalletRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWalletRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWalletRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWalletRecordRequest) ProtoMessage()
- func (m *QueryWalletRecordRequest) Reset()
- func (m *QueryWalletRecordRequest) Size() (n int)
- func (m *QueryWalletRecordRequest) String() string
- func (m *QueryWalletRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWalletRecordRequest) XXX_DiscardUnknown()
- func (m *QueryWalletRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWalletRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryWalletRecordRequest) XXX_Size() int
- func (m *QueryWalletRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryWalletRecordResponse
- func (*QueryWalletRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryWalletRecordResponse) GetValue() *types.WalletRecord
- func (m *QueryWalletRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWalletRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWalletRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWalletRecordResponse) ProtoMessage()
- func (m *QueryWalletRecordResponse) Reset()
- func (m *QueryWalletRecordResponse) Size() (n int)
- func (m *QueryWalletRecordResponse) String() string
- func (m *QueryWalletRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWalletRecordResponse) XXX_DiscardUnknown()
- func (m *QueryWalletRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWalletRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryWalletRecordResponse) XXX_Size() int
- func (m *QueryWalletRecordResponse) XXX_Unmarshal(b []byte) error
- type RegistryKeeper
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllRecords(ctx context.Context, req *QueryAllRecordsRequest) (*QueryAllRecordsResponse, error)
- func (*UnimplementedQueryServer) DnsRecord(ctx context.Context, req *QueryDnsRecordRequest) (*QueryDnsRecordResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) TextRecord(ctx context.Context, req *QueryTextRecordRequest) (*QueryTextRecordResponse, error)
- func (*UnimplementedQueryServer) WalletRecord(ctx context.Context, req *QueryWalletRecordRequest) (*QueryWalletRecordResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "resolver" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_resolver" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = errorsmod.Register(ModuleName, 1100, "sample error")
)
x/resolver module sentinel errors
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the resolver module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { }
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 Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAllRecordsRequest ¶
type QueryAllRecordsRequest struct { DomainName string `protobuf:"bytes,1,opt,name=domainName,proto3" json:"domainName,omitempty"` DomainParent string `protobuf:"bytes,2,opt,name=domainParent,proto3" json:"domainParent,omitempty"` }
func (*QueryAllRecordsRequest) Descriptor ¶
func (*QueryAllRecordsRequest) Descriptor() ([]byte, []int)
func (*QueryAllRecordsRequest) GetDomainName ¶
func (m *QueryAllRecordsRequest) GetDomainName() string
func (*QueryAllRecordsRequest) GetDomainParent ¶
func (m *QueryAllRecordsRequest) GetDomainParent() string
func (*QueryAllRecordsRequest) Marshal ¶
func (m *QueryAllRecordsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllRecordsRequest) MarshalTo ¶
func (m *QueryAllRecordsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllRecordsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllRecordsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllRecordsRequest) ProtoMessage ¶
func (*QueryAllRecordsRequest) ProtoMessage()
func (*QueryAllRecordsRequest) Reset ¶
func (m *QueryAllRecordsRequest) Reset()
func (*QueryAllRecordsRequest) Size ¶
func (m *QueryAllRecordsRequest) Size() (n int)
func (*QueryAllRecordsRequest) String ¶
func (m *QueryAllRecordsRequest) String() string
func (*QueryAllRecordsRequest) Unmarshal ¶
func (m *QueryAllRecordsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllRecordsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllRecordsRequest) XXX_DiscardUnknown()
func (*QueryAllRecordsRequest) XXX_Marshal ¶
func (m *QueryAllRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllRecordsRequest) XXX_Merge ¶
func (m *QueryAllRecordsRequest) XXX_Merge(src proto.Message)
func (*QueryAllRecordsRequest) XXX_Size ¶
func (m *QueryAllRecordsRequest) XXX_Size() int
func (*QueryAllRecordsRequest) XXX_Unmarshal ¶
func (m *QueryAllRecordsRequest) XXX_Unmarshal(b []byte) error
type QueryAllRecordsResponse ¶
type QueryAllRecordsResponse struct {
Values map[string]*types.Record `` /* 153-byte string literal not displayed */
}
func (*QueryAllRecordsResponse) Descriptor ¶
func (*QueryAllRecordsResponse) Descriptor() ([]byte, []int)
func (*QueryAllRecordsResponse) GetValues ¶
func (m *QueryAllRecordsResponse) GetValues() map[string]*types.Record
func (*QueryAllRecordsResponse) Marshal ¶
func (m *QueryAllRecordsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllRecordsResponse) MarshalTo ¶
func (m *QueryAllRecordsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllRecordsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllRecordsResponse) ProtoMessage ¶
func (*QueryAllRecordsResponse) ProtoMessage()
func (*QueryAllRecordsResponse) Reset ¶
func (m *QueryAllRecordsResponse) Reset()
func (*QueryAllRecordsResponse) Size ¶
func (m *QueryAllRecordsResponse) Size() (n int)
func (*QueryAllRecordsResponse) String ¶
func (m *QueryAllRecordsResponse) String() string
func (*QueryAllRecordsResponse) Unmarshal ¶
func (m *QueryAllRecordsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllRecordsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllRecordsResponse) XXX_DiscardUnknown()
func (*QueryAllRecordsResponse) XXX_Marshal ¶
func (m *QueryAllRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllRecordsResponse) XXX_Merge ¶
func (m *QueryAllRecordsResponse) XXX_Merge(src proto.Message)
func (*QueryAllRecordsResponse) XXX_Size ¶
func (m *QueryAllRecordsResponse) XXX_Size() int
func (*QueryAllRecordsResponse) XXX_Unmarshal ¶
func (m *QueryAllRecordsResponse) 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 list of QueryWalletRecord items. WalletRecord(ctx context.Context, in *QueryWalletRecordRequest, opts ...grpc.CallOption) (*QueryWalletRecordResponse, error) // Queries a list of DnsRecord items. DnsRecord(ctx context.Context, in *QueryDnsRecordRequest, opts ...grpc.CallOption) (*QueryDnsRecordResponse, error) // Queries a list of AllRecord items. AllRecords(ctx context.Context, in *QueryAllRecordsRequest, opts ...grpc.CallOption) (*QueryAllRecordsResponse, error) // Queries a list of TextRecord items. TextRecord(ctx context.Context, in *QueryTextRecordRequest, opts ...grpc.CallOption) (*QueryTextRecordResponse, 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 QueryDnsRecordRequest ¶
type QueryDnsRecordRequest struct { DomainName string `protobuf:"bytes,1,opt,name=domainName,proto3" json:"domainName,omitempty"` DomainParent string `protobuf:"bytes,2,opt,name=domainParent,proto3" json:"domainParent,omitempty"` DnsRecordType string `protobuf:"bytes,3,opt,name=dnsRecordType,proto3" json:"dnsRecordType,omitempty"` }
func (*QueryDnsRecordRequest) Descriptor ¶
func (*QueryDnsRecordRequest) Descriptor() ([]byte, []int)
func (*QueryDnsRecordRequest) GetDnsRecordType ¶
func (m *QueryDnsRecordRequest) GetDnsRecordType() string
func (*QueryDnsRecordRequest) GetDomainName ¶
func (m *QueryDnsRecordRequest) GetDomainName() string
func (*QueryDnsRecordRequest) GetDomainParent ¶
func (m *QueryDnsRecordRequest) GetDomainParent() string
func (*QueryDnsRecordRequest) Marshal ¶
func (m *QueryDnsRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryDnsRecordRequest) MarshalTo ¶
func (m *QueryDnsRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDnsRecordRequest) MarshalToSizedBuffer ¶
func (m *QueryDnsRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDnsRecordRequest) ProtoMessage ¶
func (*QueryDnsRecordRequest) ProtoMessage()
func (*QueryDnsRecordRequest) Reset ¶
func (m *QueryDnsRecordRequest) Reset()
func (*QueryDnsRecordRequest) Size ¶
func (m *QueryDnsRecordRequest) Size() (n int)
func (*QueryDnsRecordRequest) String ¶
func (m *QueryDnsRecordRequest) String() string
func (*QueryDnsRecordRequest) Unmarshal ¶
func (m *QueryDnsRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryDnsRecordRequest) XXX_DiscardUnknown ¶
func (m *QueryDnsRecordRequest) XXX_DiscardUnknown()
func (*QueryDnsRecordRequest) XXX_Marshal ¶
func (m *QueryDnsRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDnsRecordRequest) XXX_Merge ¶
func (m *QueryDnsRecordRequest) XXX_Merge(src proto.Message)
func (*QueryDnsRecordRequest) XXX_Size ¶
func (m *QueryDnsRecordRequest) XXX_Size() int
func (*QueryDnsRecordRequest) XXX_Unmarshal ¶
func (m *QueryDnsRecordRequest) XXX_Unmarshal(b []byte) error
type QueryDnsRecordResponse ¶
type QueryDnsRecordResponse struct {
Value *types.DnsRecord `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*QueryDnsRecordResponse) Descriptor ¶
func (*QueryDnsRecordResponse) Descriptor() ([]byte, []int)
func (*QueryDnsRecordResponse) GetValue ¶
func (m *QueryDnsRecordResponse) GetValue() *types.DnsRecord
func (*QueryDnsRecordResponse) Marshal ¶
func (m *QueryDnsRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryDnsRecordResponse) MarshalTo ¶
func (m *QueryDnsRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDnsRecordResponse) MarshalToSizedBuffer ¶
func (m *QueryDnsRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDnsRecordResponse) ProtoMessage ¶
func (*QueryDnsRecordResponse) ProtoMessage()
func (*QueryDnsRecordResponse) Reset ¶
func (m *QueryDnsRecordResponse) Reset()
func (*QueryDnsRecordResponse) Size ¶
func (m *QueryDnsRecordResponse) Size() (n int)
func (*QueryDnsRecordResponse) String ¶
func (m *QueryDnsRecordResponse) String() string
func (*QueryDnsRecordResponse) Unmarshal ¶
func (m *QueryDnsRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryDnsRecordResponse) XXX_DiscardUnknown ¶
func (m *QueryDnsRecordResponse) XXX_DiscardUnknown()
func (*QueryDnsRecordResponse) XXX_Marshal ¶
func (m *QueryDnsRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDnsRecordResponse) XXX_Merge ¶
func (m *QueryDnsRecordResponse) XXX_Merge(src proto.Message)
func (*QueryDnsRecordResponse) XXX_Size ¶
func (m *QueryDnsRecordResponse) XXX_Size() int
func (*QueryDnsRecordResponse) XXX_Unmarshal ¶
func (m *QueryDnsRecordResponse) 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 list of QueryWalletRecord items. WalletRecord(context.Context, *QueryWalletRecordRequest) (*QueryWalletRecordResponse, error) // Queries a list of DnsRecord items. DnsRecord(context.Context, *QueryDnsRecordRequest) (*QueryDnsRecordResponse, error) // Queries a list of AllRecord items. AllRecords(context.Context, *QueryAllRecordsRequest) (*QueryAllRecordsResponse, error) // Queries a list of TextRecord items. TextRecord(context.Context, *QueryTextRecordRequest) (*QueryTextRecordResponse, error) }
QueryServer is the server API for Query service.
type QueryTextRecordRequest ¶ added in v0.1.2
type QueryTextRecordRequest struct { DomainName string `protobuf:"bytes,1,opt,name=domainName,proto3" json:"domainName,omitempty"` DomainParent string `protobuf:"bytes,2,opt,name=domainParent,proto3" json:"domainParent,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` }
func (*QueryTextRecordRequest) Descriptor ¶ added in v0.1.2
func (*QueryTextRecordRequest) Descriptor() ([]byte, []int)
func (*QueryTextRecordRequest) GetDomainName ¶ added in v0.1.2
func (m *QueryTextRecordRequest) GetDomainName() string
func (*QueryTextRecordRequest) GetDomainParent ¶ added in v0.1.2
func (m *QueryTextRecordRequest) GetDomainParent() string
func (*QueryTextRecordRequest) GetKey ¶ added in v0.1.2
func (m *QueryTextRecordRequest) GetKey() string
func (*QueryTextRecordRequest) Marshal ¶ added in v0.1.2
func (m *QueryTextRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryTextRecordRequest) MarshalTo ¶ added in v0.1.2
func (m *QueryTextRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTextRecordRequest) MarshalToSizedBuffer ¶ added in v0.1.2
func (m *QueryTextRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTextRecordRequest) ProtoMessage ¶ added in v0.1.2
func (*QueryTextRecordRequest) ProtoMessage()
func (*QueryTextRecordRequest) Reset ¶ added in v0.1.2
func (m *QueryTextRecordRequest) Reset()
func (*QueryTextRecordRequest) Size ¶ added in v0.1.2
func (m *QueryTextRecordRequest) Size() (n int)
func (*QueryTextRecordRequest) String ¶ added in v0.1.2
func (m *QueryTextRecordRequest) String() string
func (*QueryTextRecordRequest) Unmarshal ¶ added in v0.1.2
func (m *QueryTextRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryTextRecordRequest) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *QueryTextRecordRequest) XXX_DiscardUnknown()
func (*QueryTextRecordRequest) XXX_Marshal ¶ added in v0.1.2
func (m *QueryTextRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTextRecordRequest) XXX_Merge ¶ added in v0.1.2
func (m *QueryTextRecordRequest) XXX_Merge(src proto.Message)
func (*QueryTextRecordRequest) XXX_Size ¶ added in v0.1.2
func (m *QueryTextRecordRequest) XXX_Size() int
func (*QueryTextRecordRequest) XXX_Unmarshal ¶ added in v0.1.2
func (m *QueryTextRecordRequest) XXX_Unmarshal(b []byte) error
type QueryTextRecordResponse ¶ added in v0.1.2
type QueryTextRecordResponse struct {
Value *types.TextRecord `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*QueryTextRecordResponse) Descriptor ¶ added in v0.1.2
func (*QueryTextRecordResponse) Descriptor() ([]byte, []int)
func (*QueryTextRecordResponse) GetValue ¶ added in v0.1.2
func (m *QueryTextRecordResponse) GetValue() *types.TextRecord
func (*QueryTextRecordResponse) Marshal ¶ added in v0.1.2
func (m *QueryTextRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryTextRecordResponse) MarshalTo ¶ added in v0.1.2
func (m *QueryTextRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTextRecordResponse) MarshalToSizedBuffer ¶ added in v0.1.2
func (m *QueryTextRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTextRecordResponse) ProtoMessage ¶ added in v0.1.2
func (*QueryTextRecordResponse) ProtoMessage()
func (*QueryTextRecordResponse) Reset ¶ added in v0.1.2
func (m *QueryTextRecordResponse) Reset()
func (*QueryTextRecordResponse) Size ¶ added in v0.1.2
func (m *QueryTextRecordResponse) Size() (n int)
func (*QueryTextRecordResponse) String ¶ added in v0.1.2
func (m *QueryTextRecordResponse) String() string
func (*QueryTextRecordResponse) Unmarshal ¶ added in v0.1.2
func (m *QueryTextRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryTextRecordResponse) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *QueryTextRecordResponse) XXX_DiscardUnknown()
func (*QueryTextRecordResponse) XXX_Marshal ¶ added in v0.1.2
func (m *QueryTextRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTextRecordResponse) XXX_Merge ¶ added in v0.1.2
func (m *QueryTextRecordResponse) XXX_Merge(src proto.Message)
func (*QueryTextRecordResponse) XXX_Size ¶ added in v0.1.2
func (m *QueryTextRecordResponse) XXX_Size() int
func (*QueryTextRecordResponse) XXX_Unmarshal ¶ added in v0.1.2
func (m *QueryTextRecordResponse) XXX_Unmarshal(b []byte) error
type QueryWalletRecordRequest ¶
type QueryWalletRecordRequest struct { DomainName string `protobuf:"bytes,1,opt,name=domainName,proto3" json:"domainName,omitempty"` DomainParent string `protobuf:"bytes,2,opt,name=domainParent,proto3" json:"domainParent,omitempty"` WalletRecordType string `protobuf:"bytes,3,opt,name=walletRecordType,proto3" json:"walletRecordType,omitempty"` }
func (*QueryWalletRecordRequest) Descriptor ¶
func (*QueryWalletRecordRequest) Descriptor() ([]byte, []int)
func (*QueryWalletRecordRequest) GetDomainName ¶
func (m *QueryWalletRecordRequest) GetDomainName() string
func (*QueryWalletRecordRequest) GetDomainParent ¶
func (m *QueryWalletRecordRequest) GetDomainParent() string
func (*QueryWalletRecordRequest) GetWalletRecordType ¶
func (m *QueryWalletRecordRequest) GetWalletRecordType() string
func (*QueryWalletRecordRequest) Marshal ¶
func (m *QueryWalletRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryWalletRecordRequest) MarshalTo ¶
func (m *QueryWalletRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWalletRecordRequest) MarshalToSizedBuffer ¶
func (m *QueryWalletRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWalletRecordRequest) ProtoMessage ¶
func (*QueryWalletRecordRequest) ProtoMessage()
func (*QueryWalletRecordRequest) Reset ¶
func (m *QueryWalletRecordRequest) Reset()
func (*QueryWalletRecordRequest) Size ¶
func (m *QueryWalletRecordRequest) Size() (n int)
func (*QueryWalletRecordRequest) String ¶
func (m *QueryWalletRecordRequest) String() string
func (*QueryWalletRecordRequest) Unmarshal ¶
func (m *QueryWalletRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryWalletRecordRequest) XXX_DiscardUnknown ¶
func (m *QueryWalletRecordRequest) XXX_DiscardUnknown()
func (*QueryWalletRecordRequest) XXX_Marshal ¶
func (m *QueryWalletRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWalletRecordRequest) XXX_Merge ¶
func (m *QueryWalletRecordRequest) XXX_Merge(src proto.Message)
func (*QueryWalletRecordRequest) XXX_Size ¶
func (m *QueryWalletRecordRequest) XXX_Size() int
func (*QueryWalletRecordRequest) XXX_Unmarshal ¶
func (m *QueryWalletRecordRequest) XXX_Unmarshal(b []byte) error
type QueryWalletRecordResponse ¶
type QueryWalletRecordResponse struct {
Value *types.WalletRecord `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*QueryWalletRecordResponse) Descriptor ¶
func (*QueryWalletRecordResponse) Descriptor() ([]byte, []int)
func (*QueryWalletRecordResponse) GetValue ¶
func (m *QueryWalletRecordResponse) GetValue() *types.WalletRecord
func (*QueryWalletRecordResponse) Marshal ¶
func (m *QueryWalletRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryWalletRecordResponse) MarshalTo ¶
func (m *QueryWalletRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWalletRecordResponse) MarshalToSizedBuffer ¶
func (m *QueryWalletRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWalletRecordResponse) ProtoMessage ¶
func (*QueryWalletRecordResponse) ProtoMessage()
func (*QueryWalletRecordResponse) Reset ¶
func (m *QueryWalletRecordResponse) Reset()
func (*QueryWalletRecordResponse) Size ¶
func (m *QueryWalletRecordResponse) Size() (n int)
func (*QueryWalletRecordResponse) String ¶
func (m *QueryWalletRecordResponse) String() string
func (*QueryWalletRecordResponse) Unmarshal ¶
func (m *QueryWalletRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryWalletRecordResponse) XXX_DiscardUnknown ¶
func (m *QueryWalletRecordResponse) XXX_DiscardUnknown()
func (*QueryWalletRecordResponse) XXX_Marshal ¶
func (m *QueryWalletRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWalletRecordResponse) XXX_Merge ¶
func (m *QueryWalletRecordResponse) XXX_Merge(src proto.Message)
func (*QueryWalletRecordResponse) XXX_Size ¶
func (m *QueryWalletRecordResponse) XXX_Size() int
func (*QueryWalletRecordResponse) XXX_Unmarshal ¶
func (m *QueryWalletRecordResponse) XXX_Unmarshal(b []byte) error
type RegistryKeeper ¶
type RegistryKeeper interface { // Methods imported from registry should be defined here GetSecondLevelDomain(ctx sdk.Context, name string, parent string) (val registrytypes.SecondLevelDomain, found bool) GetTopLevelDomain(ctx sdk.Context, name string) (val registrytypes.TopLevelDomain, found bool) GetValidSecondLevelDomain(ctx sdk.Context, name string, parent string) (secondLevelDomain registrytypes.SecondLevelDomain, err error) GetValidTopLevelDomain(ctx sdk.Context, name string) (topLevelDomain registrytypes.TopLevelDomain, err error) }
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllRecords ¶
func (*UnimplementedQueryServer) AllRecords(ctx context.Context, req *QueryAllRecordsRequest) (*QueryAllRecordsResponse, error)
func (*UnimplementedQueryServer) DnsRecord ¶
func (*UnimplementedQueryServer) DnsRecord(ctx context.Context, req *QueryDnsRecordRequest) (*QueryDnsRecordResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) TextRecord ¶ added in v0.1.2
func (*UnimplementedQueryServer) TextRecord(ctx context.Context, req *QueryTextRecordRequest) (*QueryTextRecordResponse, error)
func (*UnimplementedQueryServer) WalletRecord ¶
func (*UnimplementedQueryServer) WalletRecord(ctx context.Context, req *QueryWalletRecordRequest) (*QueryWalletRecordResponse, error)