service

package
v0.0.0-...-b12402e Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT, MIT Imports: 5 Imported by: 0

README

Service

Documentation

Index

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(uc *biz.UserUseCase, cc *biz.CatalogUseCase, logger log.Logger) *ShopAdmin

func (*ShopAdmin) CreateBeer

func (s *ShopAdmin) CreateBeer(ctx context.Context, req *v1.CreateBeerReq) (*v1.CreateBeerReply, error)

func (*ShopAdmin) DeleteBeer

func (s *ShopAdmin) DeleteBeer(ctx context.Context, req *v1.DeleteBeerReq) (*v1.DeleteBeerReply, error)

func (*ShopAdmin) GetBeer

func (s *ShopAdmin) GetBeer(ctx context.Context, req *v1.GetBeerReq) (*v1.GetBeerReply, error)

func (*ShopAdmin) GetOrder

func (s *ShopAdmin) GetOrder(ctx context.Context, req *v1.GetOrderReq) (*v1.GetOrderReply, error)

func (*ShopAdmin) GetUser

func (s *ShopAdmin) GetUser(ctx context.Context, req *v1.GetUserReq) (*v1.GetUserReply, error)

func (*ShopAdmin) ListBeer

func (s *ShopAdmin) ListBeer(ctx context.Context, req *v1.ListBeerReq) (*v1.ListBeerReply, error)

func (*ShopAdmin) ListOrder

func (s *ShopAdmin) ListOrder(ctx context.Context, req *v1.ListOrderReq) (*v1.ListOrderReply, error)

func (*ShopAdmin) ListUser

func (s *ShopAdmin) ListUser(ctx context.Context, req *v1.ListUserReq) (*v1.ListUserReply, error)

func (*ShopAdmin) Login

func (s *ShopAdmin) Login(ctx context.Context, req *v1.LoginReq) (*v1.LoginReply, error)

func (*ShopAdmin) Logout

func (s *ShopAdmin) Logout(ctx context.Context, req *v1.LogoutReq) (*v1.LogoutReply, error)

func (*ShopAdmin) UpdateBeer

func (s *ShopAdmin) UpdateBeer(ctx context.Context, req *v1.UpdateBeerReq) (*v1.UpdateBeerReply, error)

Jump to

Keyboard shortcuts

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