Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func StringCompare(a, b string) bool
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetRegistry() *Registry
- 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 (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 Keeper
- type MsgClient
- type MsgDeregister
- func (*MsgDeregister) Descriptor() ([]byte, []int)
- func (m *MsgDeregister) GetDenom() string
- func (m *MsgDeregister) GetFrom() string
- func (m *MsgDeregister) GetSignBytes() []byte
- func (m *MsgDeregister) GetSigners() []sdk.AccAddress
- func (m *MsgDeregister) Marshal() (dAtA []byte, err error)
- func (m *MsgDeregister) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeregister) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeregister) ProtoMessage()
- func (m *MsgDeregister) Reset()
- func (m *MsgDeregister) Route() string
- func (m *MsgDeregister) Size() (n int)
- func (m *MsgDeregister) String() string
- func (m *MsgDeregister) Type() string
- func (m *MsgDeregister) Unmarshal(dAtA []byte) error
- func (m *MsgDeregister) ValidateBasic() error
- func (m *MsgDeregister) XXX_DiscardUnknown()
- func (m *MsgDeregister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeregister) XXX_Merge(src proto.Message)
- func (m *MsgDeregister) XXX_Size() int
- func (m *MsgDeregister) XXX_Unmarshal(b []byte) error
- type MsgDeregisterResponse
- func (*MsgDeregisterResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeregisterResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeregisterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeregisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeregisterResponse) ProtoMessage()
- func (m *MsgDeregisterResponse) Reset()
- func (m *MsgDeregisterResponse) Size() (n int)
- func (m *MsgDeregisterResponse) String() string
- func (m *MsgDeregisterResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeregisterResponse) XXX_DiscardUnknown()
- func (m *MsgDeregisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeregisterResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeregisterResponse) XXX_Size() int
- func (m *MsgDeregisterResponse) XXX_Unmarshal(b []byte) error
- type MsgRegister
- func (*MsgRegister) Descriptor() ([]byte, []int)
- func (m *MsgRegister) GetEntry() *RegistryEntry
- func (m *MsgRegister) GetFrom() string
- func (m *MsgRegister) GetSignBytes() []byte
- func (m *MsgRegister) GetSigners() []sdk.AccAddress
- func (m *MsgRegister) Marshal() (dAtA []byte, err error)
- func (m *MsgRegister) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegister) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegister) ProtoMessage()
- func (m *MsgRegister) Reset()
- func (m *MsgRegister) Route() string
- func (m *MsgRegister) Size() (n int)
- func (m *MsgRegister) String() string
- func (m *MsgRegister) Type() string
- func (m *MsgRegister) Unmarshal(dAtA []byte) error
- func (m *MsgRegister) ValidateBasic() error
- func (m *MsgRegister) XXX_DiscardUnknown()
- func (m *MsgRegister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegister) XXX_Merge(src proto.Message)
- func (m *MsgRegister) XXX_Size() int
- func (m *MsgRegister) XXX_Unmarshal(b []byte) error
- type MsgRegisterResponse
- func (*MsgRegisterResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterResponse) ProtoMessage()
- func (m *MsgRegisterResponse) Reset()
- func (m *MsgRegisterResponse) Size() (n int)
- func (m *MsgRegisterResponse) String() string
- func (m *MsgRegisterResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterResponse) XXX_Size() int
- func (m *MsgRegisterResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetRegistry
- func (*MsgSetRegistry) Descriptor() ([]byte, []int)
- func (m *MsgSetRegistry) GetFrom() string
- func (m *MsgSetRegistry) GetRegistry() *Registry
- func (m *MsgSetRegistry) GetSignBytes() []byte
- func (m *MsgSetRegistry) GetSigners() []sdk.AccAddress
- func (m *MsgSetRegistry) Marshal() (dAtA []byte, err error)
- func (m *MsgSetRegistry) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetRegistry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetRegistry) ProtoMessage()
- func (m *MsgSetRegistry) Reset()
- func (m *MsgSetRegistry) Route() string
- func (m *MsgSetRegistry) Size() (n int)
- func (m *MsgSetRegistry) String() string
- func (m *MsgSetRegistry) Type() string
- func (m *MsgSetRegistry) Unmarshal(dAtA []byte) error
- func (m *MsgSetRegistry) ValidateBasic() error
- func (m *MsgSetRegistry) XXX_DiscardUnknown()
- func (m *MsgSetRegistry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetRegistry) XXX_Merge(src proto.Message)
- func (m *MsgSetRegistry) XXX_Size() int
- func (m *MsgSetRegistry) XXX_Unmarshal(b []byte) error
- type MsgSetRegistryResponse
- func (*MsgSetRegistryResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetRegistryResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetRegistryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetRegistryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetRegistryResponse) ProtoMessage()
- func (m *MsgSetRegistryResponse) Reset()
- func (m *MsgSetRegistryResponse) Size() (n int)
- func (m *MsgSetRegistryResponse) String() string
- func (m *MsgSetRegistryResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetRegistryResponse) XXX_DiscardUnknown()
- func (m *MsgSetRegistryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetRegistryResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetRegistryResponse) XXX_Size() int
- func (m *MsgSetRegistryResponse) XXX_Unmarshal(b []byte) error
- type Permission
- type QueryClient
- type QueryEntriesRequest
- func (*QueryEntriesRequest) Descriptor() ([]byte, []int)
- func (m *QueryEntriesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEntriesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntriesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntriesRequest) ProtoMessage()
- func (m *QueryEntriesRequest) Reset()
- func (m *QueryEntriesRequest) Size() (n int)
- func (m *QueryEntriesRequest) String() string
- func (m *QueryEntriesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEntriesRequest) XXX_DiscardUnknown()
- func (m *QueryEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntriesRequest) XXX_Merge(src proto.Message)
- func (m *QueryEntriesRequest) XXX_Size() int
- func (m *QueryEntriesRequest) XXX_Unmarshal(b []byte) error
- type QueryEntriesResponse
- func (*QueryEntriesResponse) Descriptor() ([]byte, []int)
- func (m *QueryEntriesResponse) GetRegistry() *Registry
- func (m *QueryEntriesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEntriesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntriesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntriesResponse) ProtoMessage()
- func (m *QueryEntriesResponse) Reset()
- func (m *QueryEntriesResponse) Size() (n int)
- func (m *QueryEntriesResponse) String() string
- func (m *QueryEntriesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEntriesResponse) XXX_DiscardUnknown()
- func (m *QueryEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntriesResponse) XXX_Merge(src proto.Message)
- func (m *QueryEntriesResponse) XXX_Size() int
- func (m *QueryEntriesResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type Registry
- func (*Registry) Descriptor() ([]byte, []int)
- func (m *Registry) GetEntries() []*RegistryEntry
- func (m *Registry) Marshal() (dAtA []byte, err error)
- func (m *Registry) MarshalTo(dAtA []byte) (int, error)
- func (m *Registry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Registry) ProtoMessage()
- func (m *Registry) Reset()
- func (m *Registry) Size() (n int)
- func (m *Registry) String() string
- func (m *Registry) Unmarshal(dAtA []byte) error
- func (m *Registry) XXX_DiscardUnknown()
- func (m *Registry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Registry) XXX_Merge(src proto.Message)
- func (m *Registry) XXX_Size() int
- func (m *Registry) XXX_Unmarshal(b []byte) error
- type RegistryEntry
- func (*RegistryEntry) Descriptor() ([]byte, []int)
- func (m *RegistryEntry) GetAddress() string
- func (m *RegistryEntry) GetBaseDenom() string
- func (m *RegistryEntry) GetDecimals() int64
- func (m *RegistryEntry) GetDenom() string
- func (m *RegistryEntry) GetDisplayName() string
- func (m *RegistryEntry) GetDisplaySymbol() string
- func (m *RegistryEntry) GetExternalSymbol() string
- func (m *RegistryEntry) GetIbcChannelId() string
- func (m *RegistryEntry) GetIbcCounterpartyChainId() string
- func (m *RegistryEntry) GetIbcCounterpartyChannelId() string
- func (m *RegistryEntry) GetIbcCounterpartyDenom() string
- func (m *RegistryEntry) GetNetwork() string
- func (m *RegistryEntry) GetPath() string
- func (m *RegistryEntry) GetPermissions() []Permission
- func (m *RegistryEntry) GetTransferLimit() string
- func (m *RegistryEntry) GetUnitDenom() string
- func (m *RegistryEntry) Marshal() (dAtA []byte, err error)
- func (m *RegistryEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *RegistryEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegistryEntry) ProtoMessage()
- func (m *RegistryEntry) Reset()
- func (m *RegistryEntry) Size() (n int)
- func (m *RegistryEntry) String() string
- func (m *RegistryEntry) Unmarshal(dAtA []byte) error
- func (m *RegistryEntry) XXX_DiscardUnknown()
- func (m *RegistryEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegistryEntry) XXX_Merge(src proto.Message)
- func (m *RegistryEntry) XXX_Size() int
- func (m *RegistryEntry) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) Deregister(ctx context.Context, req *MsgDeregister) (*MsgDeregisterResponse, error)
- func (*UnimplementedMsgServer) Register(ctx context.Context, req *MsgRegister) (*MsgRegisterResponse, error)
- func (*UnimplementedMsgServer) SetRegistry(ctx context.Context, req *MsgSetRegistry) (*MsgSetRegistryResponse, error)
- type UnimplementedQueryServer
Constants ¶
const ( // ModuleName is the name of the whitelist module ModuleName = "tokenregistry" // StoreKey is the string store representation StoreKey = ModuleName + "-2" // QuerierRoute is the querier route QuerierRoute = ModuleName // RouterKey is the msg router key RouterKey = ModuleName )
const (
QueryEntries = "entries"
)
Variables ¶
var ( ErrNotFound = sdkerrors.Register(ModuleName, 1, "denom not found in registry") ErrPermissionDenied = sdkerrors.Register(ModuleName, 2, "permission denied for denom") ErrNotAllowedToSellAsset = sdkerrors.Register(ModuleName, 3, "Unable to swap, not allowed to sell selected asset") ErrNotAllowedToBuyAsset = sdkerrors.Register(ModuleName, 4, "Unable to swap, not allowed to buy selected asset") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var Permission_name = map[int32]string{
0: "UNSPECIFIED",
1: "CLP",
2: "IBCEXPORT",
3: "IBCIMPORT",
4: "DISABLE_BUY",
5: "DISABLE_SELL",
}
var Permission_value = map[string]int32{
"UNSPECIFIED": 0,
"CLP": 1,
"IBCEXPORT": 2,
"IBCIMPORT": 3,
"DISABLE_BUY": 4,
"DISABLE_SELL": 5,
}
var WhitelistStorePrefix = []byte{0x01}
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers concrete types on the Amino codec
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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func StringCompare ¶ added in v1.4.0
Types ¶
type GenesisState ¶
type GenesisState struct {
Registry *Registry `protobuf:"bytes,2,opt,name=registry,proto3" json:"registry,omitempty"`
}
func DefaultGenesisState ¶ added in v0.13.0
func DefaultGenesisState() *GenesisState
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(marshaler codec.JSONCodec, appState map[string]json.RawMessage) GenesisState
func UnmarshalGenesis ¶
func UnmarshalGenesis(marshaler codec.JSONCodec, state json.RawMessage) GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetRegistry ¶
func (m *GenesisState) GetRegistry() *Registry
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) 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 Keeper ¶
type Keeper interface { StoreKey() sdk.StoreKey GetAdminKeeper() adminkeeper.Keeper CheckEntryPermissions(entry *RegistryEntry, permissions []Permission) bool GetEntry(registry Registry, denom string) (*RegistryEntry, error) SetToken(ctx sdk.Context, entry *RegistryEntry) RemoveToken(ctx sdk.Context, denom string) InitGenesis(ctx sdk.Context, state GenesisState) []abci.ValidatorUpdate ExportGenesis(ctx sdk.Context) *GenesisState GetRegistry(ctx sdk.Context) Registry SetRegistry(ctx sdk.Context, registry Registry) }
type MsgClient ¶
type MsgClient interface { Register(ctx context.Context, in *MsgRegister, opts ...grpc.CallOption) (*MsgRegisterResponse, error) Deregister(ctx context.Context, in *MsgDeregister, opts ...grpc.CallOption) (*MsgDeregisterResponse, error) SetRegistry(ctx context.Context, in *MsgSetRegistry, opts ...grpc.CallOption) (*MsgSetRegistryResponse, 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 MsgDeregister ¶
type MsgDeregister struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` }
func (*MsgDeregister) Descriptor ¶
func (*MsgDeregister) Descriptor() ([]byte, []int)
func (*MsgDeregister) GetDenom ¶
func (m *MsgDeregister) GetDenom() string
func (*MsgDeregister) GetFrom ¶
func (m *MsgDeregister) GetFrom() string
func (*MsgDeregister) GetSignBytes ¶
func (m *MsgDeregister) GetSignBytes() []byte
func (*MsgDeregister) GetSigners ¶
func (m *MsgDeregister) GetSigners() []sdk.AccAddress
func (*MsgDeregister) Marshal ¶
func (m *MsgDeregister) Marshal() (dAtA []byte, err error)
func (*MsgDeregister) MarshalToSizedBuffer ¶
func (m *MsgDeregister) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeregister) ProtoMessage ¶
func (*MsgDeregister) ProtoMessage()
func (*MsgDeregister) Reset ¶
func (m *MsgDeregister) Reset()
func (*MsgDeregister) Route ¶
func (m *MsgDeregister) Route() string
func (*MsgDeregister) Size ¶
func (m *MsgDeregister) Size() (n int)
func (*MsgDeregister) String ¶
func (m *MsgDeregister) String() string
func (*MsgDeregister) Type ¶
func (m *MsgDeregister) Type() string
func (*MsgDeregister) Unmarshal ¶
func (m *MsgDeregister) Unmarshal(dAtA []byte) error
func (*MsgDeregister) ValidateBasic ¶
func (m *MsgDeregister) ValidateBasic() error
func (*MsgDeregister) XXX_DiscardUnknown ¶
func (m *MsgDeregister) XXX_DiscardUnknown()
func (*MsgDeregister) XXX_Marshal ¶
func (m *MsgDeregister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeregister) XXX_Merge ¶
func (m *MsgDeregister) XXX_Merge(src proto.Message)
func (*MsgDeregister) XXX_Size ¶
func (m *MsgDeregister) XXX_Size() int
func (*MsgDeregister) XXX_Unmarshal ¶
func (m *MsgDeregister) XXX_Unmarshal(b []byte) error
type MsgDeregisterResponse ¶
type MsgDeregisterResponse struct { }
func (*MsgDeregisterResponse) Descriptor ¶
func (*MsgDeregisterResponse) Descriptor() ([]byte, []int)
func (*MsgDeregisterResponse) Marshal ¶
func (m *MsgDeregisterResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeregisterResponse) MarshalTo ¶
func (m *MsgDeregisterResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeregisterResponse) MarshalToSizedBuffer ¶
func (m *MsgDeregisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeregisterResponse) ProtoMessage ¶
func (*MsgDeregisterResponse) ProtoMessage()
func (*MsgDeregisterResponse) Reset ¶
func (m *MsgDeregisterResponse) Reset()
func (*MsgDeregisterResponse) Size ¶
func (m *MsgDeregisterResponse) Size() (n int)
func (*MsgDeregisterResponse) String ¶
func (m *MsgDeregisterResponse) String() string
func (*MsgDeregisterResponse) Unmarshal ¶
func (m *MsgDeregisterResponse) Unmarshal(dAtA []byte) error
func (*MsgDeregisterResponse) XXX_DiscardUnknown ¶
func (m *MsgDeregisterResponse) XXX_DiscardUnknown()
func (*MsgDeregisterResponse) XXX_Marshal ¶
func (m *MsgDeregisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeregisterResponse) XXX_Merge ¶
func (m *MsgDeregisterResponse) XXX_Merge(src proto.Message)
func (*MsgDeregisterResponse) XXX_Size ¶
func (m *MsgDeregisterResponse) XXX_Size() int
func (*MsgDeregisterResponse) XXX_Unmarshal ¶
func (m *MsgDeregisterResponse) XXX_Unmarshal(b []byte) error
type MsgRegister ¶
type MsgRegister struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Entry *RegistryEntry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"` }
func (*MsgRegister) Descriptor ¶
func (*MsgRegister) Descriptor() ([]byte, []int)
func (*MsgRegister) GetEntry ¶
func (m *MsgRegister) GetEntry() *RegistryEntry
func (*MsgRegister) GetFrom ¶
func (m *MsgRegister) GetFrom() string
func (*MsgRegister) GetSignBytes ¶
func (m *MsgRegister) GetSignBytes() []byte
func (*MsgRegister) GetSigners ¶
func (m *MsgRegister) GetSigners() []sdk.AccAddress
func (*MsgRegister) Marshal ¶
func (m *MsgRegister) Marshal() (dAtA []byte, err error)
func (*MsgRegister) MarshalToSizedBuffer ¶
func (m *MsgRegister) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegister) ProtoMessage ¶
func (*MsgRegister) ProtoMessage()
func (*MsgRegister) Reset ¶
func (m *MsgRegister) Reset()
func (*MsgRegister) Route ¶
func (m *MsgRegister) Route() string
func (*MsgRegister) Size ¶
func (m *MsgRegister) Size() (n int)
func (*MsgRegister) String ¶
func (m *MsgRegister) String() string
func (*MsgRegister) Type ¶
func (m *MsgRegister) Type() string
func (*MsgRegister) Unmarshal ¶
func (m *MsgRegister) Unmarshal(dAtA []byte) error
func (*MsgRegister) ValidateBasic ¶
func (m *MsgRegister) ValidateBasic() error
func (*MsgRegister) XXX_DiscardUnknown ¶
func (m *MsgRegister) XXX_DiscardUnknown()
func (*MsgRegister) XXX_Marshal ¶
func (m *MsgRegister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegister) XXX_Merge ¶
func (m *MsgRegister) XXX_Merge(src proto.Message)
func (*MsgRegister) XXX_Size ¶
func (m *MsgRegister) XXX_Size() int
func (*MsgRegister) XXX_Unmarshal ¶
func (m *MsgRegister) XXX_Unmarshal(b []byte) error
type MsgRegisterResponse ¶
type MsgRegisterResponse struct { }
func (*MsgRegisterResponse) Descriptor ¶
func (*MsgRegisterResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterResponse) Marshal ¶
func (m *MsgRegisterResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterResponse) MarshalTo ¶
func (m *MsgRegisterResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterResponse) ProtoMessage ¶
func (*MsgRegisterResponse) ProtoMessage()
func (*MsgRegisterResponse) Reset ¶
func (m *MsgRegisterResponse) Reset()
func (*MsgRegisterResponse) Size ¶
func (m *MsgRegisterResponse) Size() (n int)
func (*MsgRegisterResponse) String ¶
func (m *MsgRegisterResponse) String() string
func (*MsgRegisterResponse) Unmarshal ¶
func (m *MsgRegisterResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterResponse) XXX_DiscardUnknown()
func (*MsgRegisterResponse) XXX_Marshal ¶
func (m *MsgRegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterResponse) XXX_Merge ¶
func (m *MsgRegisterResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterResponse) XXX_Size ¶
func (m *MsgRegisterResponse) XXX_Size() int
func (*MsgRegisterResponse) XXX_Unmarshal ¶
func (m *MsgRegisterResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { Register(context.Context, *MsgRegister) (*MsgRegisterResponse, error) Deregister(context.Context, *MsgDeregister) (*MsgDeregisterResponse, error) SetRegistry(context.Context, *MsgSetRegistry) (*MsgSetRegistryResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetRegistry ¶ added in v0.10.1
type MsgSetRegistry struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Registry *Registry `protobuf:"bytes,2,opt,name=registry,proto3" json:"registry,omitempty"` }
func (*MsgSetRegistry) Descriptor ¶ added in v0.10.1
func (*MsgSetRegistry) Descriptor() ([]byte, []int)
func (*MsgSetRegistry) GetFrom ¶ added in v0.10.1
func (m *MsgSetRegistry) GetFrom() string
func (*MsgSetRegistry) GetRegistry ¶ added in v0.10.1
func (m *MsgSetRegistry) GetRegistry() *Registry
func (*MsgSetRegistry) GetSignBytes ¶ added in v0.10.1
func (m *MsgSetRegistry) GetSignBytes() []byte
func (*MsgSetRegistry) GetSigners ¶ added in v0.10.1
func (m *MsgSetRegistry) GetSigners() []sdk.AccAddress
func (*MsgSetRegistry) Marshal ¶ added in v0.10.1
func (m *MsgSetRegistry) Marshal() (dAtA []byte, err error)
func (*MsgSetRegistry) MarshalTo ¶ added in v0.10.1
func (m *MsgSetRegistry) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetRegistry) MarshalToSizedBuffer ¶ added in v0.10.1
func (m *MsgSetRegistry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetRegistry) ProtoMessage ¶ added in v0.10.1
func (*MsgSetRegistry) ProtoMessage()
func (*MsgSetRegistry) Reset ¶ added in v0.10.1
func (m *MsgSetRegistry) Reset()
func (*MsgSetRegistry) Route ¶ added in v0.10.1
func (m *MsgSetRegistry) Route() string
func (*MsgSetRegistry) Size ¶ added in v0.10.1
func (m *MsgSetRegistry) Size() (n int)
func (*MsgSetRegistry) String ¶ added in v0.10.1
func (m *MsgSetRegistry) String() string
func (*MsgSetRegistry) Type ¶ added in v0.10.1
func (m *MsgSetRegistry) Type() string
func (*MsgSetRegistry) Unmarshal ¶ added in v0.10.1
func (m *MsgSetRegistry) Unmarshal(dAtA []byte) error
func (*MsgSetRegistry) ValidateBasic ¶ added in v0.10.1
func (m *MsgSetRegistry) ValidateBasic() error
func (*MsgSetRegistry) XXX_DiscardUnknown ¶ added in v0.10.1
func (m *MsgSetRegistry) XXX_DiscardUnknown()
func (*MsgSetRegistry) XXX_Marshal ¶ added in v0.10.1
func (m *MsgSetRegistry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetRegistry) XXX_Merge ¶ added in v0.10.1
func (m *MsgSetRegistry) XXX_Merge(src proto.Message)
func (*MsgSetRegistry) XXX_Size ¶ added in v0.10.1
func (m *MsgSetRegistry) XXX_Size() int
func (*MsgSetRegistry) XXX_Unmarshal ¶ added in v0.10.1
func (m *MsgSetRegistry) XXX_Unmarshal(b []byte) error
type MsgSetRegistryResponse ¶ added in v0.10.1
type MsgSetRegistryResponse struct { }
func (*MsgSetRegistryResponse) Descriptor ¶ added in v0.10.1
func (*MsgSetRegistryResponse) Descriptor() ([]byte, []int)
func (*MsgSetRegistryResponse) Marshal ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetRegistryResponse) MarshalTo ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetRegistryResponse) MarshalToSizedBuffer ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetRegistryResponse) ProtoMessage ¶ added in v0.10.1
func (*MsgSetRegistryResponse) ProtoMessage()
func (*MsgSetRegistryResponse) Reset ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) Reset()
func (*MsgSetRegistryResponse) Size ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) Size() (n int)
func (*MsgSetRegistryResponse) String ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) String() string
func (*MsgSetRegistryResponse) Unmarshal ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) Unmarshal(dAtA []byte) error
func (*MsgSetRegistryResponse) XXX_DiscardUnknown ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) XXX_DiscardUnknown()
func (*MsgSetRegistryResponse) XXX_Marshal ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetRegistryResponse) XXX_Merge ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) XXX_Merge(src proto.Message)
func (*MsgSetRegistryResponse) XXX_Size ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) XXX_Size() int
func (*MsgSetRegistryResponse) XXX_Unmarshal ¶ added in v0.10.1
func (m *MsgSetRegistryResponse) XXX_Unmarshal(b []byte) error
type Permission ¶
type Permission int32
const ( Permission_UNSPECIFIED Permission = 0 Permission_CLP Permission = 1 Permission_IBCEXPORT Permission = 2 Permission_IBCIMPORT Permission = 3 Permission_DISABLE_BUY Permission = 4 Permission_DISABLE_SELL Permission = 5 )
func GetPermissionFromString ¶
func GetPermissionFromString(s string) Permission
func (Permission) EnumDescriptor ¶
func (Permission) EnumDescriptor() ([]byte, []int)
func (Permission) String ¶
func (x Permission) String() string
type QueryClient ¶
type QueryClient interface {
Entries(ctx context.Context, in *QueryEntriesRequest, opts ...grpc.CallOption) (*QueryEntriesResponse, 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 QueryEntriesRequest ¶
type QueryEntriesRequest struct { }
func (*QueryEntriesRequest) Descriptor ¶
func (*QueryEntriesRequest) Descriptor() ([]byte, []int)
func (*QueryEntriesRequest) Marshal ¶
func (m *QueryEntriesRequest) Marshal() (dAtA []byte, err error)
func (*QueryEntriesRequest) MarshalTo ¶
func (m *QueryEntriesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntriesRequest) MarshalToSizedBuffer ¶
func (m *QueryEntriesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntriesRequest) ProtoMessage ¶
func (*QueryEntriesRequest) ProtoMessage()
func (*QueryEntriesRequest) Reset ¶
func (m *QueryEntriesRequest) Reset()
func (*QueryEntriesRequest) Size ¶
func (m *QueryEntriesRequest) Size() (n int)
func (*QueryEntriesRequest) String ¶
func (m *QueryEntriesRequest) String() string
func (*QueryEntriesRequest) Unmarshal ¶
func (m *QueryEntriesRequest) Unmarshal(dAtA []byte) error
func (*QueryEntriesRequest) XXX_DiscardUnknown ¶
func (m *QueryEntriesRequest) XXX_DiscardUnknown()
func (*QueryEntriesRequest) XXX_Marshal ¶
func (m *QueryEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntriesRequest) XXX_Merge ¶
func (m *QueryEntriesRequest) XXX_Merge(src proto.Message)
func (*QueryEntriesRequest) XXX_Size ¶
func (m *QueryEntriesRequest) XXX_Size() int
func (*QueryEntriesRequest) XXX_Unmarshal ¶
func (m *QueryEntriesRequest) XXX_Unmarshal(b []byte) error
type QueryEntriesResponse ¶
type QueryEntriesResponse struct {
Registry *Registry `protobuf:"bytes,1,opt,name=registry,proto3" json:"registry,omitempty"`
}
func (*QueryEntriesResponse) Descriptor ¶
func (*QueryEntriesResponse) Descriptor() ([]byte, []int)
func (*QueryEntriesResponse) GetRegistry ¶
func (m *QueryEntriesResponse) GetRegistry() *Registry
func (*QueryEntriesResponse) Marshal ¶
func (m *QueryEntriesResponse) Marshal() (dAtA []byte, err error)
func (*QueryEntriesResponse) MarshalTo ¶
func (m *QueryEntriesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntriesResponse) MarshalToSizedBuffer ¶
func (m *QueryEntriesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntriesResponse) ProtoMessage ¶
func (*QueryEntriesResponse) ProtoMessage()
func (*QueryEntriesResponse) Reset ¶
func (m *QueryEntriesResponse) Reset()
func (*QueryEntriesResponse) Size ¶
func (m *QueryEntriesResponse) Size() (n int)
func (*QueryEntriesResponse) String ¶
func (m *QueryEntriesResponse) String() string
func (*QueryEntriesResponse) Unmarshal ¶
func (m *QueryEntriesResponse) Unmarshal(dAtA []byte) error
func (*QueryEntriesResponse) XXX_DiscardUnknown ¶
func (m *QueryEntriesResponse) XXX_DiscardUnknown()
func (*QueryEntriesResponse) XXX_Marshal ¶
func (m *QueryEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntriesResponse) XXX_Merge ¶
func (m *QueryEntriesResponse) XXX_Merge(src proto.Message)
func (*QueryEntriesResponse) XXX_Size ¶
func (m *QueryEntriesResponse) XXX_Size() int
func (*QueryEntriesResponse) XXX_Unmarshal ¶
func (m *QueryEntriesResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
Entries(context.Context, *QueryEntriesRequest) (*QueryEntriesResponse, error)
}
QueryServer is the server API for Query service.
type Registry ¶
type Registry struct {
Entries []*RegistryEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
}
func InitialRegistry ¶
func InitialRegistry() *Registry
func (*Registry) Descriptor ¶
func (*Registry) GetEntries ¶
func (m *Registry) GetEntries() []*RegistryEntry
func (*Registry) MarshalToSizedBuffer ¶
func (*Registry) ProtoMessage ¶
func (*Registry) ProtoMessage()
func (*Registry) XXX_DiscardUnknown ¶
func (m *Registry) XXX_DiscardUnknown()
func (*Registry) XXX_Marshal ¶
func (*Registry) XXX_Unmarshal ¶
type RegistryEntry ¶
type RegistryEntry struct { Decimals int64 `protobuf:"varint,2,opt,name=decimals,proto3" json:"decimals,omitempty"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` BaseDenom string `protobuf:"bytes,4,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"` Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` IbcChannelId string `protobuf:"bytes,6,opt,name=ibc_channel_id,json=ibcChannelId,proto3" json:"ibc_channel_id,omitempty"` IbcCounterpartyChannelId string `` /* 137-byte string literal not displayed */ DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` DisplaySymbol string `protobuf:"bytes,9,opt,name=display_symbol,json=displaySymbol,proto3" json:"display_symbol,omitempty"` Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"` Address string `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"` ExternalSymbol string `protobuf:"bytes,12,opt,name=external_symbol,json=externalSymbol,proto3" json:"external_symbol,omitempty"` TransferLimit string `protobuf:"bytes,13,opt,name=transfer_limit,json=transferLimit,proto3" json:"transfer_limit,omitempty"` Permissions []Permission `protobuf:"varint,15,rep,packed,name=permissions,proto3,enum=sifnode.tokenregistry.v1.Permission" json:"permissions,omitempty"` // The name of denomination unit of this token that is the smallest unit // stored. IBC imports of this RegistryEntry convert and store funds as // unit_denom. Several different denom units of a token may be imported into // this same unit denom, they should all be stored under the same unit_denom // if they are the same token. When exporting a RegistryEntry where unit_denom // != denom, then unit_denom can, in future, be used to indicate the source of // funds for a denom unit that does not actually exist on chain, enabling // other chains to overcome the uint64 limit on the packet level and import // large amounts of high precision tokens easily. ie. microrowan -> rowan i.e // rowan -> rowan UnitDenom string `protobuf:"bytes,16,opt,name=unit_denom,json=unitDenom,proto3" json:"unit_denom,omitempty"` // The name of denomination unit of this token that should appear on // counterparty chain when this unit is exported. If empty, the denom is // exported as is. Generally this will only be used to map a high precision // (unit_denom) to a lower precision, to overcome the current uint64 limit on // the packet level. i.e rowan -> microrowan i.e microrowan -> microrowan IbcCounterpartyDenom string `protobuf:"bytes,17,opt,name=ibc_counterparty_denom,json=ibcCounterpartyDenom,proto3" json:"ibc_counterparty_denom,omitempty"` IbcCounterpartyChainId string `` /* 132-byte string literal not displayed */ }
func (*RegistryEntry) Descriptor ¶
func (*RegistryEntry) Descriptor() ([]byte, []int)
func (*RegistryEntry) GetAddress ¶
func (m *RegistryEntry) GetAddress() string
func (*RegistryEntry) GetBaseDenom ¶
func (m *RegistryEntry) GetBaseDenom() string
func (*RegistryEntry) GetDecimals ¶
func (m *RegistryEntry) GetDecimals() int64
func (*RegistryEntry) GetDenom ¶
func (m *RegistryEntry) GetDenom() string
func (*RegistryEntry) GetDisplayName ¶
func (m *RegistryEntry) GetDisplayName() string
func (*RegistryEntry) GetDisplaySymbol ¶
func (m *RegistryEntry) GetDisplaySymbol() string
func (*RegistryEntry) GetExternalSymbol ¶
func (m *RegistryEntry) GetExternalSymbol() string
func (*RegistryEntry) GetIbcChannelId ¶
func (m *RegistryEntry) GetIbcChannelId() string
func (*RegistryEntry) GetIbcCounterpartyChainId ¶
func (m *RegistryEntry) GetIbcCounterpartyChainId() string
func (*RegistryEntry) GetIbcCounterpartyChannelId ¶
func (m *RegistryEntry) GetIbcCounterpartyChannelId() string
func (*RegistryEntry) GetIbcCounterpartyDenom ¶
func (m *RegistryEntry) GetIbcCounterpartyDenom() string
func (*RegistryEntry) GetNetwork ¶
func (m *RegistryEntry) GetNetwork() string
func (*RegistryEntry) GetPath ¶
func (m *RegistryEntry) GetPath() string
func (*RegistryEntry) GetPermissions ¶
func (m *RegistryEntry) GetPermissions() []Permission
func (*RegistryEntry) GetTransferLimit ¶
func (m *RegistryEntry) GetTransferLimit() string
func (*RegistryEntry) GetUnitDenom ¶
func (m *RegistryEntry) GetUnitDenom() string
func (*RegistryEntry) Marshal ¶
func (m *RegistryEntry) Marshal() (dAtA []byte, err error)
func (*RegistryEntry) MarshalToSizedBuffer ¶
func (m *RegistryEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegistryEntry) ProtoMessage ¶
func (*RegistryEntry) ProtoMessage()
func (*RegistryEntry) Reset ¶
func (m *RegistryEntry) Reset()
func (*RegistryEntry) Size ¶
func (m *RegistryEntry) Size() (n int)
func (*RegistryEntry) String ¶
func (m *RegistryEntry) String() string
func (*RegistryEntry) Unmarshal ¶
func (m *RegistryEntry) Unmarshal(dAtA []byte) error
func (*RegistryEntry) XXX_DiscardUnknown ¶
func (m *RegistryEntry) XXX_DiscardUnknown()
func (*RegistryEntry) XXX_Marshal ¶
func (m *RegistryEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegistryEntry) XXX_Merge ¶
func (m *RegistryEntry) XXX_Merge(src proto.Message)
func (*RegistryEntry) XXX_Size ¶
func (m *RegistryEntry) XXX_Size() int
func (*RegistryEntry) XXX_Unmarshal ¶
func (m *RegistryEntry) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Deregister ¶
func (*UnimplementedMsgServer) Deregister(ctx context.Context, req *MsgDeregister) (*MsgDeregisterResponse, error)
func (*UnimplementedMsgServer) Register ¶
func (*UnimplementedMsgServer) Register(ctx context.Context, req *MsgRegister) (*MsgRegisterResponse, error)
func (*UnimplementedMsgServer) SetRegistry ¶ added in v0.10.1
func (*UnimplementedMsgServer) SetRegistry(ctx context.Context, req *MsgSetRegistry) (*MsgSetRegistryResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Entries ¶
func (*UnimplementedQueryServer) Entries(ctx context.Context, req *QueryEntriesRequest) (*QueryEntriesResponse, error)