Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterInterfaces(_ codectypes.InterfaceRegistry)
- func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
- func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
- func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
- func ValidateGenesisState(state *GenesisState) error
- type Deposit
- func (*Deposit) Descriptor() ([]byte, []int)
- func (m *Deposit) GetAddress() sdk.AccAddress
- func (m *Deposit) Marshal() (dAtA []byte, err error)
- func (m *Deposit) MarshalTo(dAtA []byte) (int, error)
- func (m *Deposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Deposit) ProtoMessage()
- func (m *Deposit) Reset()
- func (m *Deposit) Size() (n int)
- func (m *Deposit) String() string
- func (m *Deposit) Unmarshal(dAtA []byte) error
- func (m *Deposit) Validate() error
- func (m *Deposit) XXX_DiscardUnknown()
- func (m *Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deposit) XXX_Merge(src proto.Message)
- func (m *Deposit) XXX_Size() int
- func (m *Deposit) XXX_Unmarshal(b []byte) error
- type Deposits
- type EventAdd
- func (*EventAdd) Descriptor() ([]byte, []int)
- func (m *EventAdd) Marshal() (dAtA []byte, err error)
- func (m *EventAdd) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAdd) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAdd) ProtoMessage()
- func (m *EventAdd) Reset()
- func (m *EventAdd) Size() (n int)
- func (m *EventAdd) String() string
- func (m *EventAdd) Unmarshal(dAtA []byte) error
- func (m *EventAdd) XXX_DiscardUnknown()
- func (m *EventAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAdd) XXX_Merge(src proto.Message)
- func (m *EventAdd) XXX_Size() int
- func (m *EventAdd) XXX_Unmarshal(b []byte) error
- type EventSubtract
- func (*EventSubtract) Descriptor() ([]byte, []int)
- func (m *EventSubtract) Marshal() (dAtA []byte, err error)
- func (m *EventSubtract) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSubtract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSubtract) ProtoMessage()
- func (m *EventSubtract) Reset()
- func (m *EventSubtract) Size() (n int)
- func (m *EventSubtract) String() string
- func (m *EventSubtract) Unmarshal(dAtA []byte) error
- func (m *EventSubtract) XXX_DiscardUnknown()
- func (m *EventSubtract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSubtract) XXX_Merge(src proto.Message)
- func (m *EventSubtract) XXX_Size() int
- func (m *EventSubtract) XXX_Unmarshal(b []byte) error
- 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 (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 QueryDepositRequest
- func (*QueryDepositRequest) Descriptor() ([]byte, []int)
- func (m *QueryDepositRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositRequest) ProtoMessage()
- func (m *QueryDepositRequest) Reset()
- func (m *QueryDepositRequest) Size() (n int)
- func (m *QueryDepositRequest) String() string
- func (m *QueryDepositRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDepositRequest) XXX_DiscardUnknown()
- func (m *QueryDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositRequest) XXX_Merge(src proto.Message)
- func (m *QueryDepositRequest) XXX_Size() int
- func (m *QueryDepositRequest) XXX_Unmarshal(b []byte) error
- type QueryDepositResponse
- func (*QueryDepositResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositResponse) ProtoMessage()
- func (m *QueryDepositResponse) Reset()
- func (m *QueryDepositResponse) Size() (n int)
- func (m *QueryDepositResponse) String() string
- func (m *QueryDepositResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositResponse) XXX_DiscardUnknown()
- func (m *QueryDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositResponse) XXX_Size() int
- func (m *QueryDepositResponse) XXX_Unmarshal(b []byte) error
- type QueryDepositsRequest
- func (*QueryDepositsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDepositsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositsRequest) ProtoMessage()
- func (m *QueryDepositsRequest) Reset()
- func (m *QueryDepositsRequest) Size() (n int)
- func (m *QueryDepositsRequest) String() string
- func (m *QueryDepositsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDepositsRequest) XXX_DiscardUnknown()
- func (m *QueryDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDepositsRequest) XXX_Size() int
- func (m *QueryDepositsRequest) XXX_Unmarshal(b []byte) error
- type QueryDepositsResponse
- func (*QueryDepositsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDepositsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDepositsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDepositsResponse) ProtoMessage()
- func (m *QueryDepositsResponse) Reset()
- func (m *QueryDepositsResponse) Size() (n int)
- func (m *QueryDepositsResponse) String() string
- func (m *QueryDepositsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDepositsResponse) XXX_DiscardUnknown()
- func (m *QueryDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDepositsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDepositsResponse) XXX_Size() int
- func (m *QueryDepositsResponse) XXX_Unmarshal(b []byte) error
- type QueryServiceClient
- type QueryServiceServer
- type UnimplementedQueryServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthDeposit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDeposit = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDeposit = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthQuerier = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuerier = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuerier = fmt.Errorf("proto: unexpected end of group") )
var QueryService_serviceDesc = _QueryService_serviceDesc
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(_ codectypes.InterfaceRegistry)
func RegisterQueryServiceHandler ¶
func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterQueryServiceHandler registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryServiceHandlerClient ¶
func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
RegisterQueryServiceHandlerClient registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryServiceClient" to call the correct interceptors.
func RegisterQueryServiceHandlerFromEndpoint ¶
func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryServiceHandlerFromEndpoint is same as RegisterQueryServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryServiceHandlerServer ¶
func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". UnaryRPC :call QueryServiceServer 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 RegisterQueryServiceHandlerFromEndpoint instead.
func RegisterQueryServiceServer ¶
func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
func ValidateGenesisState ¶
func ValidateGenesisState(state *GenesisState) error
Types ¶
type Deposit ¶
type Deposit struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` }
func (*Deposit) Descriptor ¶
func (*Deposit) GetAddress ¶
func (m *Deposit) GetAddress() sdk.AccAddress
func (*Deposit) MarshalToSizedBuffer ¶
func (*Deposit) ProtoMessage ¶
func (*Deposit) ProtoMessage()
func (*Deposit) XXX_DiscardUnknown ¶
func (m *Deposit) XXX_DiscardUnknown()
func (*Deposit) XXX_Marshal ¶
func (*Deposit) XXX_Unmarshal ¶
type EventAdd ¶
type EventAdd struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` Coins string `protobuf:"bytes,2,opt,name=coins,proto3" json:"coins,omitempty" yaml:"coins"` }
func (*EventAdd) Descriptor ¶
func (*EventAdd) MarshalToSizedBuffer ¶
func (*EventAdd) ProtoMessage ¶
func (*EventAdd) ProtoMessage()
func (*EventAdd) XXX_DiscardUnknown ¶
func (m *EventAdd) XXX_DiscardUnknown()
func (*EventAdd) XXX_Marshal ¶
func (*EventAdd) XXX_Unmarshal ¶
type EventSubtract ¶
type EventSubtract struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` Coins string `protobuf:"bytes,2,opt,name=coins,proto3" json:"coins,omitempty" yaml:"coins"` }
func (*EventSubtract) Descriptor ¶
func (*EventSubtract) Descriptor() ([]byte, []int)
func (*EventSubtract) Marshal ¶
func (m *EventSubtract) Marshal() (dAtA []byte, err error)
func (*EventSubtract) MarshalToSizedBuffer ¶
func (m *EventSubtract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSubtract) ProtoMessage ¶
func (*EventSubtract) ProtoMessage()
func (*EventSubtract) Reset ¶
func (m *EventSubtract) Reset()
func (*EventSubtract) Size ¶
func (m *EventSubtract) Size() (n int)
func (*EventSubtract) String ¶
func (m *EventSubtract) String() string
func (*EventSubtract) Unmarshal ¶
func (m *EventSubtract) Unmarshal(dAtA []byte) error
func (*EventSubtract) XXX_DiscardUnknown ¶
func (m *EventSubtract) XXX_DiscardUnknown()
func (*EventSubtract) XXX_Marshal ¶
func (m *EventSubtract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSubtract) XXX_Merge ¶
func (m *EventSubtract) XXX_Merge(src proto.Message)
func (*EventSubtract) XXX_Size ¶
func (m *EventSubtract) XXX_Size() int
func (*EventSubtract) XXX_Unmarshal ¶
func (m *EventSubtract) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct {
Deposits []Deposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits" yaml:"deposits"`
}
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState(deposits Deposits) *GenesisState
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) 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 QueryDepositRequest ¶
type QueryDepositRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func NewQueryDepositRequest ¶
func NewQueryDepositRequest(addr sdk.AccAddress) *QueryDepositRequest
func (*QueryDepositRequest) Descriptor ¶
func (*QueryDepositRequest) Descriptor() ([]byte, []int)
func (*QueryDepositRequest) Marshal ¶
func (m *QueryDepositRequest) Marshal() (dAtA []byte, err error)
func (*QueryDepositRequest) MarshalTo ¶
func (m *QueryDepositRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositRequest) MarshalToSizedBuffer ¶
func (m *QueryDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositRequest) ProtoMessage ¶
func (*QueryDepositRequest) ProtoMessage()
func (*QueryDepositRequest) Reset ¶
func (m *QueryDepositRequest) Reset()
func (*QueryDepositRequest) Size ¶
func (m *QueryDepositRequest) Size() (n int)
func (*QueryDepositRequest) String ¶
func (m *QueryDepositRequest) String() string
func (*QueryDepositRequest) Unmarshal ¶
func (m *QueryDepositRequest) Unmarshal(dAtA []byte) error
func (*QueryDepositRequest) XXX_DiscardUnknown ¶
func (m *QueryDepositRequest) XXX_DiscardUnknown()
func (*QueryDepositRequest) XXX_Marshal ¶
func (m *QueryDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositRequest) XXX_Merge ¶
func (m *QueryDepositRequest) XXX_Merge(src proto.Message)
func (*QueryDepositRequest) XXX_Size ¶
func (m *QueryDepositRequest) XXX_Size() int
func (*QueryDepositRequest) XXX_Unmarshal ¶
func (m *QueryDepositRequest) XXX_Unmarshal(b []byte) error
type QueryDepositResponse ¶
type QueryDepositResponse struct {
Deposit Deposit `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit"`
}
func (*QueryDepositResponse) Descriptor ¶
func (*QueryDepositResponse) Descriptor() ([]byte, []int)
func (*QueryDepositResponse) Marshal ¶
func (m *QueryDepositResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositResponse) MarshalTo ¶
func (m *QueryDepositResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositResponse) MarshalToSizedBuffer ¶
func (m *QueryDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositResponse) ProtoMessage ¶
func (*QueryDepositResponse) ProtoMessage()
func (*QueryDepositResponse) Reset ¶
func (m *QueryDepositResponse) Reset()
func (*QueryDepositResponse) Size ¶
func (m *QueryDepositResponse) Size() (n int)
func (*QueryDepositResponse) String ¶
func (m *QueryDepositResponse) String() string
func (*QueryDepositResponse) Unmarshal ¶
func (m *QueryDepositResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositResponse) XXX_DiscardUnknown ¶
func (m *QueryDepositResponse) XXX_DiscardUnknown()
func (*QueryDepositResponse) XXX_Marshal ¶
func (m *QueryDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositResponse) XXX_Merge ¶
func (m *QueryDepositResponse) XXX_Merge(src proto.Message)
func (*QueryDepositResponse) XXX_Size ¶
func (m *QueryDepositResponse) XXX_Size() int
func (*QueryDepositResponse) XXX_Unmarshal ¶
func (m *QueryDepositResponse) XXX_Unmarshal(b []byte) error
type QueryDepositsRequest ¶
type QueryDepositsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func NewQueryDepositsRequest ¶
func NewQueryDepositsRequest(pagination *sdkquery.PageRequest) *QueryDepositsRequest
func (*QueryDepositsRequest) Descriptor ¶
func (*QueryDepositsRequest) Descriptor() ([]byte, []int)
func (*QueryDepositsRequest) Marshal ¶
func (m *QueryDepositsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDepositsRequest) MarshalTo ¶
func (m *QueryDepositsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositsRequest) MarshalToSizedBuffer ¶
func (m *QueryDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositsRequest) ProtoMessage ¶
func (*QueryDepositsRequest) ProtoMessage()
func (*QueryDepositsRequest) Reset ¶
func (m *QueryDepositsRequest) Reset()
func (*QueryDepositsRequest) Size ¶
func (m *QueryDepositsRequest) Size() (n int)
func (*QueryDepositsRequest) String ¶
func (m *QueryDepositsRequest) String() string
func (*QueryDepositsRequest) Unmarshal ¶
func (m *QueryDepositsRequest) Unmarshal(dAtA []byte) error
func (*QueryDepositsRequest) XXX_DiscardUnknown ¶
func (m *QueryDepositsRequest) XXX_DiscardUnknown()
func (*QueryDepositsRequest) XXX_Marshal ¶
func (m *QueryDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositsRequest) XXX_Merge ¶
func (m *QueryDepositsRequest) XXX_Merge(src proto.Message)
func (*QueryDepositsRequest) XXX_Size ¶
func (m *QueryDepositsRequest) XXX_Size() int
func (*QueryDepositsRequest) XXX_Unmarshal ¶
func (m *QueryDepositsRequest) XXX_Unmarshal(b []byte) error
type QueryDepositsResponse ¶
type QueryDepositsResponse struct { Deposits []Deposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryDepositsResponse) Descriptor ¶
func (*QueryDepositsResponse) Descriptor() ([]byte, []int)
func (*QueryDepositsResponse) Marshal ¶
func (m *QueryDepositsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDepositsResponse) MarshalTo ¶
func (m *QueryDepositsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDepositsResponse) MarshalToSizedBuffer ¶
func (m *QueryDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDepositsResponse) ProtoMessage ¶
func (*QueryDepositsResponse) ProtoMessage()
func (*QueryDepositsResponse) Reset ¶
func (m *QueryDepositsResponse) Reset()
func (*QueryDepositsResponse) Size ¶
func (m *QueryDepositsResponse) Size() (n int)
func (*QueryDepositsResponse) String ¶
func (m *QueryDepositsResponse) String() string
func (*QueryDepositsResponse) Unmarshal ¶
func (m *QueryDepositsResponse) Unmarshal(dAtA []byte) error
func (*QueryDepositsResponse) XXX_DiscardUnknown ¶
func (m *QueryDepositsResponse) XXX_DiscardUnknown()
func (*QueryDepositsResponse) XXX_Marshal ¶
func (m *QueryDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDepositsResponse) XXX_Merge ¶
func (m *QueryDepositsResponse) XXX_Merge(src proto.Message)
func (*QueryDepositsResponse) XXX_Size ¶
func (m *QueryDepositsResponse) XXX_Size() int
func (*QueryDepositsResponse) XXX_Unmarshal ¶
func (m *QueryDepositsResponse) XXX_Unmarshal(b []byte) error
type QueryServiceClient ¶
type QueryServiceClient interface { QueryDeposits(ctx context.Context, in *QueryDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) QueryDeposit(ctx context.Context, in *QueryDepositRequest, opts ...grpc.CallOption) (*QueryDepositResponse, error) }
QueryServiceClient is the client API for QueryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryServiceClient ¶
func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient
type QueryServiceServer ¶
type QueryServiceServer interface { QueryDeposits(context.Context, *QueryDepositsRequest) (*QueryDepositsResponse, error) QueryDeposit(context.Context, *QueryDepositRequest) (*QueryDepositResponse, error) }
QueryServiceServer is the server API for QueryService service.
type UnimplementedQueryServiceServer ¶
type UnimplementedQueryServiceServer struct { }
UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServiceServer) QueryDeposit ¶
func (*UnimplementedQueryServiceServer) QueryDeposit(ctx context.Context, req *QueryDepositRequest) (*QueryDepositResponse, error)
func (*UnimplementedQueryServiceServer) QueryDeposits ¶
func (*UnimplementedQueryServiceServer) QueryDeposits(ctx context.Context, req *QueryDepositsRequest) (*QueryDepositsResponse, error)