Documentation ¶
Index ¶
- Variables
- type GameService
- func (s *GameService) CreateGame(ctx context.Context, req *game.CreateGameRequest) (rp *emptypb.Empty, err error)
- func (s *GameService) DeleteGame(ctx context.Context, req *game.IdsRequest) (rp *emptypb.Empty, err error)
- func (s *GameService) FindGame(ctx context.Context, req *game.FindGameRequest) (rp *game.FindGameReply, err error)
- func (s *GameService) GetGame(ctx context.Context, req *game.GetGameRequest) (rp *game.GetGameReply, err error)
- func (s *GameService) Idempotent(ctx context.Context, req *emptypb.Empty) (rp *game.IdempotentReply, err error)
- func (s *GameService) UpdateGame(ctx context.Context, req *game.UpdateGameRequest) (rp *emptypb.Empty, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGameService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type GameService ¶ added in v1.0.2
type GameService struct { game.UnimplementedGameServer // contains filtered or unexported fields }
GameService is a game service.
func NewGameService ¶ added in v1.0.2
func NewGameService(task *task.Task, idempotent *idempotent.Idempotent, game *biz.GameUseCase) *GameService
NewGameService new a service.
func (*GameService) CreateGame ¶ added in v1.0.2
func (s *GameService) CreateGame(ctx context.Context, req *game.CreateGameRequest) (rp *emptypb.Empty, err error)
func (*GameService) DeleteGame ¶ added in v1.0.2
func (s *GameService) DeleteGame(ctx context.Context, req *game.IdsRequest) (rp *emptypb.Empty, err error)
func (*GameService) FindGame ¶ added in v1.0.2
func (s *GameService) FindGame(ctx context.Context, req *game.FindGameRequest) (rp *game.FindGameReply, err error)
func (*GameService) GetGame ¶ added in v1.0.2
func (s *GameService) GetGame(ctx context.Context, req *game.GetGameRequest) (rp *game.GetGameReply, err error)
func (*GameService) Idempotent ¶ added in v1.0.2
func (s *GameService) Idempotent(ctx context.Context, req *emptypb.Empty) (rp *game.IdempotentReply, err error)
func (*GameService) UpdateGame ¶ added in v1.0.2
func (s *GameService) UpdateGame(ctx context.Context, req *game.UpdateGameRequest) (rp *emptypb.Empty, err error)
Click to show internal directories.
Click to hide internal directories.