service

package
v0.0.0-...-86dbffa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2022 License: MIT, MIT Imports: 7 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL