Documentation ¶
Index ¶
- Variables
- type CatalogService
- func (s *CatalogService) CreateGame(ctx context.Context, req *v1.CreateGameReq) (*v1.CreateGameReply, error)
- func (s *CatalogService) GetGame(ctx context.Context, req *v1.GetGameReq) (*v1.GetGameReply, error)
- func (s *CatalogService) HealthCheck(ctx context.Context, req *v1.HealthReq) (*v1.HealthReply, error)
- func (s *CatalogService) ListGame(ctx context.Context, req *v1.ListGameReq) (*v1.ListGameReply, error)
- func (s *CatalogService) UpdateGame(ctx context.Context, req *v1.UpdateGameReq) (*v1.UpdateGameReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewCatalogService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type CatalogService ¶
type CatalogService struct { v1.UnimplementedCatalogServer // contains filtered or unexported fields }
func NewCatalogService ¶
func NewCatalogService(bc *biz.GameUseCase, logger log.Logger) *CatalogService
func (*CatalogService) CreateGame ¶
func (s *CatalogService) CreateGame(ctx context.Context, req *v1.CreateGameReq) (*v1.CreateGameReply, error)
func (*CatalogService) GetGame ¶
func (s *CatalogService) GetGame(ctx context.Context, req *v1.GetGameReq) (*v1.GetGameReply, error)
func (*CatalogService) HealthCheck ¶
func (s *CatalogService) HealthCheck(ctx context.Context, req *v1.HealthReq) (*v1.HealthReply, error)
func (*CatalogService) ListGame ¶
func (s *CatalogService) ListGame(ctx context.Context, req *v1.ListGameReq) (*v1.ListGameReply, error)
func (*CatalogService) UpdateGame ¶
func (s *CatalogService) UpdateGame(ctx context.Context, req *v1.UpdateGameReq) (*v1.UpdateGameReply, error)
Click to show internal directories.
Click to hide internal directories.