Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Game(goCtx context.Context, req *types.QueryGetGameRequest) (*types.QueryGetGameResponse, error)
- func (k Keeper) GameAll(goCtx context.Context, req *types.QueryAllGameRequest) (*types.QueryAllGameResponse, error)
- func (k Keeper) GetAllGame(ctx sdk.Context) (list []types.Game)
- func (k Keeper) GetGame(ctx sdk.Context, index string) (val types.Game, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveGame(ctx sdk.Context, index string)
- func (k Keeper) SetGame(ctx sdk.Context, game types.Game)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, identityKeeper types.IdentityKeeper, ) *Keeper
func (Keeper) Game ¶
func (k Keeper) Game(goCtx context.Context, req *types.QueryGetGameRequest) (*types.QueryGetGameResponse, error)
func (Keeper) GameAll ¶
func (k Keeper) GameAll(goCtx context.Context, req *types.QueryAllGameRequest) (*types.QueryAllGameResponse, error)
func (Keeper) GetAllGame ¶
GetAllGame returns all game
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveGame ¶
RemoveGame removes a game from the store
Click to show internal directories.
Click to hide internal directories.