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

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 (*CatalogService) UpdateBeer

func (s *CatalogService) 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