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