Documentation ¶
Index ¶
- Variables
- type CatalogService
- func (s *CatalogService) CreateBeer(ctx context.Context, req *v1.CreateBeerReq) (*v1.CreateBeerReply, error)
- func (s *CatalogService) GetBeer(ctx context.Context, req *v1.GetBeerReq) (*v1.GetBeerReply, error)
- func (s *CatalogService) ListBeer(ctx context.Context, req *v1.ListBeerReq) (*v1.ListBeerReply, error)
- func (s *CatalogService) ListBeerNextToken(ctx context.Context, req *v1.ListBeerNextTokenReq) (*v1.ListBeerReplyNextToken, error)
- func (s *CatalogService) UpdateBeer(ctx context.Context, req *v1.UpdateBeerReq) (*v1.UpdateBeerReply, 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.BeerUseCase, logger log.Logger) *CatalogService
func (*CatalogService) CreateBeer ¶
func (s *CatalogService) CreateBeer(ctx context.Context, req *v1.CreateBeerReq) (*v1.CreateBeerReply, error)
func (*CatalogService) GetBeer ¶
func (s *CatalogService) GetBeer(ctx context.Context, req *v1.GetBeerReq) (*v1.GetBeerReply, error)
func (*CatalogService) ListBeer ¶
func (s *CatalogService) ListBeer(ctx context.Context, req *v1.ListBeerReq) (*v1.ListBeerReply, error)
func (*CatalogService) ListBeerNextToken ¶
func (s *CatalogService) ListBeerNextToken(ctx context.Context, req *v1.ListBeerNextTokenReq) (*v1.ListBeerReplyNextToken, error)
func (*CatalogService) UpdateBeer ¶
func (s *CatalogService) UpdateBeer(ctx context.Context, req *v1.UpdateBeerReq) (*v1.UpdateBeerReply, error)
Click to show internal directories.
Click to hide internal directories.