Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- 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 GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- 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 Issuer
- func (*Issuer) Descriptor() ([]byte, []int)
- func (m *Issuer) GetAddress() string
- func (m *Issuer) GetFee() int32
- func (m *Issuer) GetToken() string
- func (m *Issuer) Marshal() (dAtA []byte, err error)
- func (m *Issuer) MarshalTo(dAtA []byte) (int, error)
- func (m *Issuer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Issuer) ProtoMessage()
- func (m *Issuer) Reset()
- func (m *Issuer) Size() (n int)
- func (m *Issuer) String() string
- func (m *Issuer) Unmarshal(dAtA []byte) error
- func (m *Issuer) XXX_DiscardUnknown()
- func (m *Issuer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Issuer) XXX_Merge(src proto.Message)
- func (m *Issuer) XXX_Size() int
- func (m *Issuer) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateIssuer
- func (*MsgCreateIssuer) Descriptor() ([]byte, []int)
- func (msg MsgCreateIssuer) GetSignBytes() []byte
- func (msg MsgCreateIssuer) GetSigners() []sdk.AccAddress
- func (m *MsgCreateIssuer) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateIssuer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateIssuer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateIssuer) ProtoMessage()
- func (m *MsgCreateIssuer) Reset()
- func (MsgCreateIssuer) Route() string
- func (m *MsgCreateIssuer) Size() (n int)
- func (m *MsgCreateIssuer) String() string
- func (MsgCreateIssuer) Type() string
- func (m *MsgCreateIssuer) Unmarshal(dAtA []byte) error
- func (msg MsgCreateIssuer) ValidateBasic() error
- func (m *MsgCreateIssuer) XXX_DiscardUnknown()
- func (m *MsgCreateIssuer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateIssuer) XXX_Merge(src proto.Message)
- func (m *MsgCreateIssuer) XXX_Size() int
- func (m *MsgCreateIssuer) XXX_Unmarshal(b []byte) error
- type MsgCreateIssuerResponse
- func (*MsgCreateIssuerResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateIssuerResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateIssuerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateIssuerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateIssuerResponse) ProtoMessage()
- func (m *MsgCreateIssuerResponse) Reset()
- func (m *MsgCreateIssuerResponse) Size() (n int)
- func (m *MsgCreateIssuerResponse) String() string
- func (m *MsgCreateIssuerResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateIssuerResponse) XXX_DiscardUnknown()
- func (m *MsgCreateIssuerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateIssuerResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateIssuerResponse) XXX_Size() int
- func (m *MsgCreateIssuerResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type QueryClient
- type QueryIssuersRequest
- func (*QueryIssuersRequest) Descriptor() ([]byte, []int)
- func (m *QueryIssuersRequest) GetPagination() *query.PageRequest
- func (m *QueryIssuersRequest) GetStatus() string
- func (m *QueryIssuersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryIssuersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIssuersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIssuersRequest) ProtoMessage()
- func (m *QueryIssuersRequest) Reset()
- func (m *QueryIssuersRequest) Size() (n int)
- func (m *QueryIssuersRequest) String() string
- func (m *QueryIssuersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryIssuersRequest) XXX_DiscardUnknown()
- func (m *QueryIssuersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIssuersRequest) XXX_Merge(src proto.Message)
- func (m *QueryIssuersRequest) XXX_Size() int
- func (m *QueryIssuersRequest) XXX_Unmarshal(b []byte) error
- type QueryIssuersResponse
- func (*QueryIssuersResponse) Descriptor() ([]byte, []int)
- func (m *QueryIssuersResponse) GetIssuers() []Issuer
- func (m *QueryIssuersResponse) GetPagination() *query.PageResponse
- func (m *QueryIssuersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIssuersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIssuersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIssuersResponse) ProtoMessage()
- func (m *QueryIssuersResponse) Reset()
- func (m *QueryIssuersResponse) Size() (n int)
- func (m *QueryIssuersResponse) String() string
- func (m *QueryIssuersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIssuersResponse) XXX_DiscardUnknown()
- func (m *QueryIssuersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIssuersResponse) XXX_Merge(src proto.Message)
- func (m *QueryIssuersResponse) XXX_Size() int
- func (m *QueryIssuersResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
Constants ¶
const ( // ModuleName defines the module name ModuleName = "issuer" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_capability" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
TypeMsgCreateIssuer = "create-issuer"
)
msg types
Variables ¶
var ( ErrIssuerFound = sdkerrors.Register(ModuleName, 1101, "issuer found") ErrUserFound = sdkerrors.Register(ModuleName, 1102, "user found") )
x/issuer module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthIssuer = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIssuer = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIssuer = fmt.Errorf("proto: unexpected end of group") )
var ( IssuerKey = []byte{0x61} // prefix for each key to a DidDocument TokenKey = []byte{0x62} // prefix for each key to a DidDocument )
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 (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
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 GenesisState ¶
type GenesisState struct { }
GenesisState defines the issuer module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) 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 Issuer ¶
type Issuer struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Fee int32 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` }
Issuer represents an e-money token issuer
func (*Issuer) Descriptor ¶
func (*Issuer) GetAddress ¶
func (*Issuer) MarshalToSizedBuffer ¶
func (*Issuer) ProtoMessage ¶
func (*Issuer) ProtoMessage()
func (*Issuer) XXX_DiscardUnknown ¶
func (m *Issuer) XXX_DiscardUnknown()
func (*Issuer) XXX_Marshal ¶
func (*Issuer) XXX_Unmarshal ¶
type MsgClient ¶
type MsgClient interface {
CreateIssuer(ctx context.Context, in *MsgCreateIssuer, opts ...grpc.CallOption) (*MsgCreateIssuerResponse, 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 MsgCreateIssuer ¶
type MsgCreateIssuer struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Fee int32 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` }
MsgCreateIssuer defines a SDK message for creating a new identifer.
func NewMsgCreateIssuer ¶
func NewMsgCreateIssuer( token string, fee int32, owner string, ) *MsgCreateIssuer
NewMsgCreateIssuer creates a new MsgCreateIssuer instance
func (*MsgCreateIssuer) Descriptor ¶
func (*MsgCreateIssuer) Descriptor() ([]byte, []int)
func (MsgCreateIssuer) GetSignBytes ¶
func (msg MsgCreateIssuer) GetSignBytes() []byte
func (MsgCreateIssuer) GetSigners ¶
func (msg MsgCreateIssuer) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgCreateIssuer) Marshal ¶
func (m *MsgCreateIssuer) Marshal() (dAtA []byte, err error)
func (*MsgCreateIssuer) MarshalToSizedBuffer ¶
func (m *MsgCreateIssuer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateIssuer) ProtoMessage ¶
func (*MsgCreateIssuer) ProtoMessage()
func (*MsgCreateIssuer) Reset ¶
func (m *MsgCreateIssuer) Reset()
func (*MsgCreateIssuer) Size ¶
func (m *MsgCreateIssuer) Size() (n int)
func (*MsgCreateIssuer) String ¶
func (m *MsgCreateIssuer) String() string
func (*MsgCreateIssuer) Unmarshal ¶
func (m *MsgCreateIssuer) Unmarshal(dAtA []byte) error
func (MsgCreateIssuer) ValidateBasic ¶
func (msg MsgCreateIssuer) ValidateBasic() error
ValidateBasic performs a basic check of the MsgCreateIssuer fields.
func (*MsgCreateIssuer) XXX_DiscardUnknown ¶
func (m *MsgCreateIssuer) XXX_DiscardUnknown()
func (*MsgCreateIssuer) XXX_Marshal ¶
func (m *MsgCreateIssuer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateIssuer) XXX_Merge ¶
func (m *MsgCreateIssuer) XXX_Merge(src proto.Message)
func (*MsgCreateIssuer) XXX_Size ¶
func (m *MsgCreateIssuer) XXX_Size() int
func (*MsgCreateIssuer) XXX_Unmarshal ¶
func (m *MsgCreateIssuer) XXX_Unmarshal(b []byte) error
type MsgCreateIssuerResponse ¶
type MsgCreateIssuerResponse struct { }
func (*MsgCreateIssuerResponse) Descriptor ¶
func (*MsgCreateIssuerResponse) Descriptor() ([]byte, []int)
func (*MsgCreateIssuerResponse) Marshal ¶
func (m *MsgCreateIssuerResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateIssuerResponse) MarshalTo ¶
func (m *MsgCreateIssuerResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateIssuerResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateIssuerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateIssuerResponse) ProtoMessage ¶
func (*MsgCreateIssuerResponse) ProtoMessage()
func (*MsgCreateIssuerResponse) Reset ¶
func (m *MsgCreateIssuerResponse) Reset()
func (*MsgCreateIssuerResponse) Size ¶
func (m *MsgCreateIssuerResponse) Size() (n int)
func (*MsgCreateIssuerResponse) String ¶
func (m *MsgCreateIssuerResponse) String() string
func (*MsgCreateIssuerResponse) Unmarshal ¶
func (m *MsgCreateIssuerResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateIssuerResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateIssuerResponse) XXX_DiscardUnknown()
func (*MsgCreateIssuerResponse) XXX_Marshal ¶
func (m *MsgCreateIssuerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateIssuerResponse) XXX_Merge ¶
func (m *MsgCreateIssuerResponse) XXX_Merge(src proto.Message)
func (*MsgCreateIssuerResponse) XXX_Size ¶
func (m *MsgCreateIssuerResponse) XXX_Size() int
func (*MsgCreateIssuerResponse) XXX_Unmarshal ¶
func (m *MsgCreateIssuerResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
CreateIssuer(context.Context, *MsgCreateIssuer) (*MsgCreateIssuerResponse, error)
}
MsgServer is the server API for Msg service.
type QueryClient ¶
type QueryClient interface {
Issuers(ctx context.Context, in *QueryIssuersRequest, opts ...grpc.CallOption) (*QueryIssuersResponse, 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 QueryIssuersRequest ¶
type QueryIssuersRequest struct { // status enables to query for validators matching a given status. Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryIssuersRequest) Descriptor ¶
func (*QueryIssuersRequest) Descriptor() ([]byte, []int)
func (*QueryIssuersRequest) GetPagination ¶
func (m *QueryIssuersRequest) GetPagination() *query.PageRequest
func (*QueryIssuersRequest) GetStatus ¶
func (m *QueryIssuersRequest) GetStatus() string
func (*QueryIssuersRequest) Marshal ¶
func (m *QueryIssuersRequest) Marshal() (dAtA []byte, err error)
func (*QueryIssuersRequest) MarshalTo ¶
func (m *QueryIssuersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryIssuersRequest) MarshalToSizedBuffer ¶
func (m *QueryIssuersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIssuersRequest) ProtoMessage ¶
func (*QueryIssuersRequest) ProtoMessage()
func (*QueryIssuersRequest) Reset ¶
func (m *QueryIssuersRequest) Reset()
func (*QueryIssuersRequest) Size ¶
func (m *QueryIssuersRequest) Size() (n int)
func (*QueryIssuersRequest) String ¶
func (m *QueryIssuersRequest) String() string
func (*QueryIssuersRequest) Unmarshal ¶
func (m *QueryIssuersRequest) Unmarshal(dAtA []byte) error
func (*QueryIssuersRequest) XXX_DiscardUnknown ¶
func (m *QueryIssuersRequest) XXX_DiscardUnknown()
func (*QueryIssuersRequest) XXX_Marshal ¶
func (m *QueryIssuersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIssuersRequest) XXX_Merge ¶
func (m *QueryIssuersRequest) XXX_Merge(src proto.Message)
func (*QueryIssuersRequest) XXX_Size ¶
func (m *QueryIssuersRequest) XXX_Size() int
func (*QueryIssuersRequest) XXX_Unmarshal ¶
func (m *QueryIssuersRequest) XXX_Unmarshal(b []byte) error
type QueryIssuersResponse ¶
type QueryIssuersResponse struct { // validators contains all the queried validators. Issuers []Issuer `protobuf:"bytes,1,rep,name=issuers,proto3" json:"issuers"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryIdentifersResponse is response type for the Query/Identifers RPC method
func (*QueryIssuersResponse) Descriptor ¶
func (*QueryIssuersResponse) Descriptor() ([]byte, []int)
func (*QueryIssuersResponse) GetIssuers ¶
func (m *QueryIssuersResponse) GetIssuers() []Issuer
func (*QueryIssuersResponse) GetPagination ¶
func (m *QueryIssuersResponse) GetPagination() *query.PageResponse
func (*QueryIssuersResponse) Marshal ¶
func (m *QueryIssuersResponse) Marshal() (dAtA []byte, err error)
func (*QueryIssuersResponse) MarshalTo ¶
func (m *QueryIssuersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryIssuersResponse) MarshalToSizedBuffer ¶
func (m *QueryIssuersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIssuersResponse) ProtoMessage ¶
func (*QueryIssuersResponse) ProtoMessage()
func (*QueryIssuersResponse) Reset ¶
func (m *QueryIssuersResponse) Reset()
func (*QueryIssuersResponse) Size ¶
func (m *QueryIssuersResponse) Size() (n int)
func (*QueryIssuersResponse) String ¶
func (m *QueryIssuersResponse) String() string
func (*QueryIssuersResponse) Unmarshal ¶
func (m *QueryIssuersResponse) Unmarshal(dAtA []byte) error
func (*QueryIssuersResponse) XXX_DiscardUnknown ¶
func (m *QueryIssuersResponse) XXX_DiscardUnknown()
func (*QueryIssuersResponse) XXX_Marshal ¶
func (m *QueryIssuersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIssuersResponse) XXX_Merge ¶
func (m *QueryIssuersResponse) XXX_Merge(src proto.Message)
func (*QueryIssuersResponse) XXX_Size ¶
func (m *QueryIssuersResponse) XXX_Size() int
func (*QueryIssuersResponse) XXX_Unmarshal ¶
func (m *QueryIssuersResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
Issuers(context.Context, *QueryIssuersRequest) (*QueryIssuersResponse, error)
}
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateIssuer ¶
func (*UnimplementedMsgServer) CreateIssuer(ctx context.Context, req *MsgCreateIssuer) (*MsgCreateIssuerResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Issuers ¶
func (*UnimplementedQueryServer) Issuers(ctx context.Context, req *QueryIssuersRequest) (*QueryIssuersResponse, error)