Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GameKey(index string) []byte
- 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 Game
- func (*Game) Descriptor() ([]byte, []int)
- func (m *Game) GetFinishTimestamp() int64
- func (m *Game) GetGameCreator() string
- func (m *Game) GetIndex() string
- func (m *Game) GetReferee() string
- func (m *Game) GetScoreAwayTeam() int32
- func (m *Game) GetScoreConsensus() *ScoreConsensus
- func (m *Game) GetScoreHomeTeam() int32
- func (m *Game) GetStartTimestamp() int64
- func (m *Game) GetTeamAway() string
- func (m *Game) GetTeamHome() string
- func (m *Game) Marshal() (dAtA []byte, err error)
- func (m *Game) MarshalTo(dAtA []byte) (int, error)
- func (m *Game) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Game) ProtoMessage()
- func (m *Game) Reset()
- func (m *Game) Size() (n int)
- func (m *Game) String() string
- func (m *Game) Unmarshal(dAtA []byte) error
- func (m *Game) XXX_DiscardUnknown()
- func (m *Game) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Game) XXX_Merge(src proto.Message)
- func (m *Game) XXX_Size() int
- func (m *Game) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetGameList() []Game
- 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 IdentityKeeper
- type MsgClient
- type MsgCreateGame
- func (*MsgCreateGame) Descriptor() ([]byte, []int)
- func (m *MsgCreateGame) GetCreator() string
- func (msg *MsgCreateGame) GetSignBytes() []byte
- func (msg *MsgCreateGame) GetSigners() []sdk.AccAddress
- func (m *MsgCreateGame) GetTeamAway() string
- func (m *MsgCreateGame) GetTeamHome() string
- func (m *MsgCreateGame) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGame) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGame) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGame) ProtoMessage()
- func (m *MsgCreateGame) Reset()
- func (msg *MsgCreateGame) Route() string
- func (m *MsgCreateGame) Size() (n int)
- func (m *MsgCreateGame) String() string
- func (msg *MsgCreateGame) Type() string
- func (m *MsgCreateGame) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateGame) ValidateBasic() error
- func (m *MsgCreateGame) XXX_DiscardUnknown()
- func (m *MsgCreateGame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGame) XXX_Merge(src proto.Message)
- func (m *MsgCreateGame) XXX_Size() int
- func (m *MsgCreateGame) XXX_Unmarshal(b []byte) error
- type MsgCreateGameResponse
- func (*MsgCreateGameResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateGameResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGameResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGameResponse) ProtoMessage()
- func (m *MsgCreateGameResponse) Reset()
- func (m *MsgCreateGameResponse) Size() (n int)
- func (m *MsgCreateGameResponse) String() string
- func (m *MsgCreateGameResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateGameResponse) XXX_DiscardUnknown()
- func (m *MsgCreateGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGameResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateGameResponse) XXX_Size() int
- func (m *MsgCreateGameResponse) XXX_Unmarshal(b []byte) error
- 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 QueryAllGameRequest
- func (*QueryAllGameRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllGameRequest) GetPagination() *query.PageRequest
- func (m *QueryAllGameRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllGameRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllGameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllGameRequest) ProtoMessage()
- func (m *QueryAllGameRequest) Reset()
- func (m *QueryAllGameRequest) Size() (n int)
- func (m *QueryAllGameRequest) String() string
- func (m *QueryAllGameRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllGameRequest) XXX_DiscardUnknown()
- func (m *QueryAllGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllGameRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllGameRequest) XXX_Size() int
- func (m *QueryAllGameRequest) XXX_Unmarshal(b []byte) error
- type QueryAllGameResponse
- func (*QueryAllGameResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllGameResponse) GetGame() []Game
- func (m *QueryAllGameResponse) GetPagination() *query.PageResponse
- func (m *QueryAllGameResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllGameResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllGameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllGameResponse) ProtoMessage()
- func (m *QueryAllGameResponse) Reset()
- func (m *QueryAllGameResponse) Size() (n int)
- func (m *QueryAllGameResponse) String() string
- func (m *QueryAllGameResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllGameResponse) XXX_DiscardUnknown()
- func (m *QueryAllGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllGameResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllGameResponse) XXX_Size() int
- func (m *QueryAllGameResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetGameRequest
- func (*QueryGetGameRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetGameRequest) GetIndex() string
- func (m *QueryGetGameRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetGameRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetGameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetGameRequest) ProtoMessage()
- func (m *QueryGetGameRequest) Reset()
- func (m *QueryGetGameRequest) Size() (n int)
- func (m *QueryGetGameRequest) String() string
- func (m *QueryGetGameRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetGameRequest) XXX_DiscardUnknown()
- func (m *QueryGetGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetGameRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetGameRequest) XXX_Size() int
- func (m *QueryGetGameRequest) XXX_Unmarshal(b []byte) error
- type QueryGetGameResponse
- func (*QueryGetGameResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetGameResponse) GetGame() Game
- func (m *QueryGetGameResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetGameResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetGameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetGameResponse) ProtoMessage()
- func (m *QueryGetGameResponse) Reset()
- func (m *QueryGetGameResponse) Size() (n int)
- func (m *QueryGetGameResponse) String() string
- func (m *QueryGetGameResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetGameResponse) XXX_DiscardUnknown()
- func (m *QueryGetGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetGameResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetGameResponse) XXX_Size() int
- func (m *QueryGetGameResponse) 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 ScoreConsensus
- func (*ScoreConsensus) Descriptor() ([]byte, []int)
- func (m *ScoreConsensus) GetAwayTeamSubmittedScoreAwayTeam() int32
- func (m *ScoreConsensus) GetAwayTeamSubmittedScoreHomeTeam() int32
- func (m *ScoreConsensus) GetHomeTeamSubmittedScoreAwayTeam() int32
- func (m *ScoreConsensus) GetHomeTeamSubmittedScoreHomeTeam() int32
- func (m *ScoreConsensus) GetRefereeSubmittedScoreAwayTeam() int32
- func (m *ScoreConsensus) GetRefereeSubmittedScoreHomeTeam() int32
- func (m *ScoreConsensus) Marshal() (dAtA []byte, err error)
- func (m *ScoreConsensus) MarshalTo(dAtA []byte) (int, error)
- func (m *ScoreConsensus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScoreConsensus) ProtoMessage()
- func (m *ScoreConsensus) Reset()
- func (m *ScoreConsensus) Size() (n int)
- func (m *ScoreConsensus) String() string
- func (m *ScoreConsensus) Unmarshal(dAtA []byte) error
- func (m *ScoreConsensus) XXX_DiscardUnknown()
- func (m *ScoreConsensus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScoreConsensus) XXX_Merge(src proto.Message)
- func (m *ScoreConsensus) XXX_Size() int
- func (m *ScoreConsensus) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Game(ctx context.Context, req *QueryGetGameRequest) (*QueryGetGameResponse, error)
- func (*UnimplementedQueryServer) GameAll(ctx context.Context, req *QueryAllGameRequest) (*QueryAllGameResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "gameheadtohead" // 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_gameheadtohead" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
// GameKeyPrefix is the prefix to retrieve all Game
GameKeyPrefix = "Game/value/"
)
const TypeMsgCreateGame = "create_game"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthGame = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGame = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGame = 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 ( 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 ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/gameheadtohead 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 Game ¶
type Game struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` GameCreator string `protobuf:"bytes,2,opt,name=gameCreator,proto3" json:"gameCreator,omitempty"` TeamHome string `protobuf:"bytes,3,opt,name=teamHome,proto3" json:"teamHome,omitempty"` TeamAway string `protobuf:"bytes,4,opt,name=teamAway,proto3" json:"teamAway,omitempty"` Referee string `protobuf:"bytes,5,opt,name=referee,proto3" json:"referee,omitempty"` ScoreHomeTeam int32 `protobuf:"varint,6,opt,name=scoreHomeTeam,proto3" json:"scoreHomeTeam,omitempty"` ScoreAwayTeam int32 `protobuf:"varint,7,opt,name=scoreAwayTeam,proto3" json:"scoreAwayTeam,omitempty"` StartTimestamp int64 `protobuf:"varint,8,opt,name=startTimestamp,proto3" json:"startTimestamp,omitempty"` FinishTimestamp int64 `protobuf:"varint,9,opt,name=finishTimestamp,proto3" json:"finishTimestamp,omitempty"` ScoreConsensus *ScoreConsensus `protobuf:"bytes,10,opt,name=scoreConsensus,proto3" json:"scoreConsensus,omitempty"` }
func (*Game) Descriptor ¶
func (*Game) GetFinishTimestamp ¶
func (*Game) GetGameCreator ¶
func (*Game) GetReferee ¶
func (*Game) GetScoreAwayTeam ¶
func (*Game) GetScoreConsensus ¶
func (m *Game) GetScoreConsensus() *ScoreConsensus
func (*Game) GetScoreHomeTeam ¶
func (*Game) GetStartTimestamp ¶
func (*Game) GetTeamAway ¶
func (*Game) GetTeamHome ¶
func (*Game) ProtoMessage ¶
func (*Game) ProtoMessage()
func (*Game) XXX_DiscardUnknown ¶
func (m *Game) XXX_DiscardUnknown()
func (*Game) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` GameList []Game `protobuf:"bytes,2,rep,name=gameList,proto3" json:"gameList"` }
GenesisState defines the gameheadtohead 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) GetGameList ¶
func (m *GenesisState) GetGameList() []Game
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 IdentityKeeper ¶
type IdentityKeeper interface { }
type MsgClient ¶
type MsgClient interface {
CreateGame(ctx context.Context, in *MsgCreateGame, opts ...grpc.CallOption) (*MsgCreateGameResponse, 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 MsgCreateGame ¶
type MsgCreateGame struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` TeamHome string `protobuf:"bytes,2,opt,name=teamHome,proto3" json:"teamHome,omitempty"` TeamAway string `protobuf:"bytes,3,opt,name=teamAway,proto3" json:"teamAway,omitempty"` }
func NewMsgCreateGame ¶
func NewMsgCreateGame(creator string, teamHome string, teamAway string) *MsgCreateGame
func (*MsgCreateGame) Descriptor ¶
func (*MsgCreateGame) Descriptor() ([]byte, []int)
func (*MsgCreateGame) GetCreator ¶
func (m *MsgCreateGame) GetCreator() string
func (*MsgCreateGame) GetSignBytes ¶
func (msg *MsgCreateGame) GetSignBytes() []byte
func (*MsgCreateGame) GetSigners ¶
func (msg *MsgCreateGame) GetSigners() []sdk.AccAddress
func (*MsgCreateGame) GetTeamAway ¶
func (m *MsgCreateGame) GetTeamAway() string
func (*MsgCreateGame) GetTeamHome ¶
func (m *MsgCreateGame) GetTeamHome() string
func (*MsgCreateGame) Marshal ¶
func (m *MsgCreateGame) Marshal() (dAtA []byte, err error)
func (*MsgCreateGame) MarshalToSizedBuffer ¶
func (m *MsgCreateGame) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGame) ProtoMessage ¶
func (*MsgCreateGame) ProtoMessage()
func (*MsgCreateGame) Reset ¶
func (m *MsgCreateGame) Reset()
func (*MsgCreateGame) Route ¶
func (msg *MsgCreateGame) Route() string
func (*MsgCreateGame) Size ¶
func (m *MsgCreateGame) Size() (n int)
func (*MsgCreateGame) String ¶
func (m *MsgCreateGame) String() string
func (*MsgCreateGame) Type ¶
func (msg *MsgCreateGame) Type() string
func (*MsgCreateGame) Unmarshal ¶
func (m *MsgCreateGame) Unmarshal(dAtA []byte) error
func (*MsgCreateGame) ValidateBasic ¶
func (msg *MsgCreateGame) ValidateBasic() error
func (*MsgCreateGame) XXX_DiscardUnknown ¶
func (m *MsgCreateGame) XXX_DiscardUnknown()
func (*MsgCreateGame) XXX_Marshal ¶
func (m *MsgCreateGame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGame) XXX_Merge ¶
func (m *MsgCreateGame) XXX_Merge(src proto.Message)
func (*MsgCreateGame) XXX_Size ¶
func (m *MsgCreateGame) XXX_Size() int
func (*MsgCreateGame) XXX_Unmarshal ¶
func (m *MsgCreateGame) XXX_Unmarshal(b []byte) error
type MsgCreateGameResponse ¶
type MsgCreateGameResponse struct { }
func (*MsgCreateGameResponse) Descriptor ¶
func (*MsgCreateGameResponse) Descriptor() ([]byte, []int)
func (*MsgCreateGameResponse) Marshal ¶
func (m *MsgCreateGameResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateGameResponse) MarshalTo ¶
func (m *MsgCreateGameResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateGameResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateGameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGameResponse) ProtoMessage ¶
func (*MsgCreateGameResponse) ProtoMessage()
func (*MsgCreateGameResponse) Reset ¶
func (m *MsgCreateGameResponse) Reset()
func (*MsgCreateGameResponse) Size ¶
func (m *MsgCreateGameResponse) Size() (n int)
func (*MsgCreateGameResponse) String ¶
func (m *MsgCreateGameResponse) String() string
func (*MsgCreateGameResponse) Unmarshal ¶
func (m *MsgCreateGameResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateGameResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateGameResponse) XXX_DiscardUnknown()
func (*MsgCreateGameResponse) XXX_Marshal ¶
func (m *MsgCreateGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGameResponse) XXX_Merge ¶
func (m *MsgCreateGameResponse) XXX_Merge(src proto.Message)
func (*MsgCreateGameResponse) XXX_Size ¶
func (m *MsgCreateGameResponse) XXX_Size() int
func (*MsgCreateGameResponse) XXX_Unmarshal ¶
func (m *MsgCreateGameResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
CreateGame(context.Context, *MsgCreateGame) (*MsgCreateGameResponse, error)
}
MsgServer is the server API for Msg service.
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 QueryAllGameRequest ¶
type QueryAllGameRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllGameRequest) Descriptor ¶
func (*QueryAllGameRequest) Descriptor() ([]byte, []int)
func (*QueryAllGameRequest) GetPagination ¶
func (m *QueryAllGameRequest) GetPagination() *query.PageRequest
func (*QueryAllGameRequest) Marshal ¶
func (m *QueryAllGameRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllGameRequest) MarshalTo ¶
func (m *QueryAllGameRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllGameRequest) MarshalToSizedBuffer ¶
func (m *QueryAllGameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllGameRequest) ProtoMessage ¶
func (*QueryAllGameRequest) ProtoMessage()
func (*QueryAllGameRequest) Reset ¶
func (m *QueryAllGameRequest) Reset()
func (*QueryAllGameRequest) Size ¶
func (m *QueryAllGameRequest) Size() (n int)
func (*QueryAllGameRequest) String ¶
func (m *QueryAllGameRequest) String() string
func (*QueryAllGameRequest) Unmarshal ¶
func (m *QueryAllGameRequest) Unmarshal(dAtA []byte) error
func (*QueryAllGameRequest) XXX_DiscardUnknown ¶
func (m *QueryAllGameRequest) XXX_DiscardUnknown()
func (*QueryAllGameRequest) XXX_Marshal ¶
func (m *QueryAllGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllGameRequest) XXX_Merge ¶
func (m *QueryAllGameRequest) XXX_Merge(src proto.Message)
func (*QueryAllGameRequest) XXX_Size ¶
func (m *QueryAllGameRequest) XXX_Size() int
func (*QueryAllGameRequest) XXX_Unmarshal ¶
func (m *QueryAllGameRequest) XXX_Unmarshal(b []byte) error
type QueryAllGameResponse ¶
type QueryAllGameResponse struct { Game []Game `protobuf:"bytes,1,rep,name=game,proto3" json:"game"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllGameResponse) Descriptor ¶
func (*QueryAllGameResponse) Descriptor() ([]byte, []int)
func (*QueryAllGameResponse) GetGame ¶
func (m *QueryAllGameResponse) GetGame() []Game
func (*QueryAllGameResponse) GetPagination ¶
func (m *QueryAllGameResponse) GetPagination() *query.PageResponse
func (*QueryAllGameResponse) Marshal ¶
func (m *QueryAllGameResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllGameResponse) MarshalTo ¶
func (m *QueryAllGameResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllGameResponse) MarshalToSizedBuffer ¶
func (m *QueryAllGameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllGameResponse) ProtoMessage ¶
func (*QueryAllGameResponse) ProtoMessage()
func (*QueryAllGameResponse) Reset ¶
func (m *QueryAllGameResponse) Reset()
func (*QueryAllGameResponse) Size ¶
func (m *QueryAllGameResponse) Size() (n int)
func (*QueryAllGameResponse) String ¶
func (m *QueryAllGameResponse) String() string
func (*QueryAllGameResponse) Unmarshal ¶
func (m *QueryAllGameResponse) Unmarshal(dAtA []byte) error
func (*QueryAllGameResponse) XXX_DiscardUnknown ¶
func (m *QueryAllGameResponse) XXX_DiscardUnknown()
func (*QueryAllGameResponse) XXX_Marshal ¶
func (m *QueryAllGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllGameResponse) XXX_Merge ¶
func (m *QueryAllGameResponse) XXX_Merge(src proto.Message)
func (*QueryAllGameResponse) XXX_Size ¶
func (m *QueryAllGameResponse) XXX_Size() int
func (*QueryAllGameResponse) XXX_Unmarshal ¶
func (m *QueryAllGameResponse) 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 Game items. Game(ctx context.Context, in *QueryGetGameRequest, opts ...grpc.CallOption) (*QueryGetGameResponse, error) GameAll(ctx context.Context, in *QueryAllGameRequest, opts ...grpc.CallOption) (*QueryAllGameResponse, 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 QueryGetGameRequest ¶
type QueryGetGameRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetGameRequest) Descriptor ¶
func (*QueryGetGameRequest) Descriptor() ([]byte, []int)
func (*QueryGetGameRequest) GetIndex ¶
func (m *QueryGetGameRequest) GetIndex() string
func (*QueryGetGameRequest) Marshal ¶
func (m *QueryGetGameRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetGameRequest) MarshalTo ¶
func (m *QueryGetGameRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetGameRequest) MarshalToSizedBuffer ¶
func (m *QueryGetGameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetGameRequest) ProtoMessage ¶
func (*QueryGetGameRequest) ProtoMessage()
func (*QueryGetGameRequest) Reset ¶
func (m *QueryGetGameRequest) Reset()
func (*QueryGetGameRequest) Size ¶
func (m *QueryGetGameRequest) Size() (n int)
func (*QueryGetGameRequest) String ¶
func (m *QueryGetGameRequest) String() string
func (*QueryGetGameRequest) Unmarshal ¶
func (m *QueryGetGameRequest) Unmarshal(dAtA []byte) error
func (*QueryGetGameRequest) XXX_DiscardUnknown ¶
func (m *QueryGetGameRequest) XXX_DiscardUnknown()
func (*QueryGetGameRequest) XXX_Marshal ¶
func (m *QueryGetGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetGameRequest) XXX_Merge ¶
func (m *QueryGetGameRequest) XXX_Merge(src proto.Message)
func (*QueryGetGameRequest) XXX_Size ¶
func (m *QueryGetGameRequest) XXX_Size() int
func (*QueryGetGameRequest) XXX_Unmarshal ¶
func (m *QueryGetGameRequest) XXX_Unmarshal(b []byte) error
type QueryGetGameResponse ¶
type QueryGetGameResponse struct {
Game Game `protobuf:"bytes,1,opt,name=game,proto3" json:"game"`
}
func (*QueryGetGameResponse) Descriptor ¶
func (*QueryGetGameResponse) Descriptor() ([]byte, []int)
func (*QueryGetGameResponse) GetGame ¶
func (m *QueryGetGameResponse) GetGame() Game
func (*QueryGetGameResponse) Marshal ¶
func (m *QueryGetGameResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetGameResponse) MarshalTo ¶
func (m *QueryGetGameResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetGameResponse) MarshalToSizedBuffer ¶
func (m *QueryGetGameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetGameResponse) ProtoMessage ¶
func (*QueryGetGameResponse) ProtoMessage()
func (*QueryGetGameResponse) Reset ¶
func (m *QueryGetGameResponse) Reset()
func (*QueryGetGameResponse) Size ¶
func (m *QueryGetGameResponse) Size() (n int)
func (*QueryGetGameResponse) String ¶
func (m *QueryGetGameResponse) String() string
func (*QueryGetGameResponse) Unmarshal ¶
func (m *QueryGetGameResponse) Unmarshal(dAtA []byte) error
func (*QueryGetGameResponse) XXX_DiscardUnknown ¶
func (m *QueryGetGameResponse) XXX_DiscardUnknown()
func (*QueryGetGameResponse) XXX_Marshal ¶
func (m *QueryGetGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetGameResponse) XXX_Merge ¶
func (m *QueryGetGameResponse) XXX_Merge(src proto.Message)
func (*QueryGetGameResponse) XXX_Size ¶
func (m *QueryGetGameResponse) XXX_Size() int
func (*QueryGetGameResponse) XXX_Unmarshal ¶
func (m *QueryGetGameResponse) 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 Game items. Game(context.Context, *QueryGetGameRequest) (*QueryGetGameResponse, error) GameAll(context.Context, *QueryAllGameRequest) (*QueryAllGameResponse, error) }
QueryServer is the server API for Query service.
type ScoreConsensus ¶
type ScoreConsensus struct { HomeTeamSubmittedScoreHomeTeam int32 `protobuf:"varint,1,opt,name=homeTeamSubmittedScoreHomeTeam,proto3" json:"homeTeamSubmittedScoreHomeTeam,omitempty"` HomeTeamSubmittedScoreAwayTeam int32 `protobuf:"varint,2,opt,name=homeTeamSubmittedScoreAwayTeam,proto3" json:"homeTeamSubmittedScoreAwayTeam,omitempty"` AwayTeamSubmittedScoreHomeTeam int32 `protobuf:"varint,3,opt,name=awayTeamSubmittedScoreHomeTeam,proto3" json:"awayTeamSubmittedScoreHomeTeam,omitempty"` AwayTeamSubmittedScoreAwayTeam int32 `protobuf:"varint,4,opt,name=awayTeamSubmittedScoreAwayTeam,proto3" json:"awayTeamSubmittedScoreAwayTeam,omitempty"` RefereeSubmittedScoreHomeTeam int32 `protobuf:"varint,5,opt,name=refereeSubmittedScoreHomeTeam,proto3" json:"refereeSubmittedScoreHomeTeam,omitempty"` RefereeSubmittedScoreAwayTeam int32 `protobuf:"varint,6,opt,name=refereeSubmittedScoreAwayTeam,proto3" json:"refereeSubmittedScoreAwayTeam,omitempty"` }
func (*ScoreConsensus) Descriptor ¶
func (*ScoreConsensus) Descriptor() ([]byte, []int)
func (*ScoreConsensus) GetAwayTeamSubmittedScoreAwayTeam ¶
func (m *ScoreConsensus) GetAwayTeamSubmittedScoreAwayTeam() int32
func (*ScoreConsensus) GetAwayTeamSubmittedScoreHomeTeam ¶
func (m *ScoreConsensus) GetAwayTeamSubmittedScoreHomeTeam() int32
func (*ScoreConsensus) GetHomeTeamSubmittedScoreAwayTeam ¶
func (m *ScoreConsensus) GetHomeTeamSubmittedScoreAwayTeam() int32
func (*ScoreConsensus) GetHomeTeamSubmittedScoreHomeTeam ¶
func (m *ScoreConsensus) GetHomeTeamSubmittedScoreHomeTeam() int32
func (*ScoreConsensus) GetRefereeSubmittedScoreAwayTeam ¶
func (m *ScoreConsensus) GetRefereeSubmittedScoreAwayTeam() int32
func (*ScoreConsensus) GetRefereeSubmittedScoreHomeTeam ¶
func (m *ScoreConsensus) GetRefereeSubmittedScoreHomeTeam() int32
func (*ScoreConsensus) Marshal ¶
func (m *ScoreConsensus) Marshal() (dAtA []byte, err error)
func (*ScoreConsensus) MarshalToSizedBuffer ¶
func (m *ScoreConsensus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScoreConsensus) ProtoMessage ¶
func (*ScoreConsensus) ProtoMessage()
func (*ScoreConsensus) Reset ¶
func (m *ScoreConsensus) Reset()
func (*ScoreConsensus) Size ¶
func (m *ScoreConsensus) Size() (n int)
func (*ScoreConsensus) String ¶
func (m *ScoreConsensus) String() string
func (*ScoreConsensus) Unmarshal ¶
func (m *ScoreConsensus) Unmarshal(dAtA []byte) error
func (*ScoreConsensus) XXX_DiscardUnknown ¶
func (m *ScoreConsensus) XXX_DiscardUnknown()
func (*ScoreConsensus) XXX_Marshal ¶
func (m *ScoreConsensus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScoreConsensus) XXX_Merge ¶
func (m *ScoreConsensus) XXX_Merge(src proto.Message)
func (*ScoreConsensus) XXX_Size ¶
func (m *ScoreConsensus) XXX_Size() int
func (*ScoreConsensus) XXX_Unmarshal ¶
func (m *ScoreConsensus) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateGame ¶
func (*UnimplementedMsgServer) CreateGame(ctx context.Context, req *MsgCreateGame) (*MsgCreateGameResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Game ¶
func (*UnimplementedQueryServer) Game(ctx context.Context, req *QueryGetGameRequest) (*QueryGetGameResponse, error)
func (*UnimplementedQueryServer) GameAll ¶
func (*UnimplementedQueryServer) GameAll(ctx context.Context, req *QueryAllGameRequest) (*QueryAllGameResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)