Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewRatingService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type RatingService ¶
type RatingService struct { v1.UnimplementedRatingServiceServer // contains filtered or unexported fields }
func NewRatingService ¶
func NewRatingService(uc *biz.RatingUsecase) *RatingService
func (*RatingService) CreateRating ¶
func (r *RatingService) CreateRating(ctx context.Context, req *v1.CreateRatingRequest) (resp *v1.CreateRatingResponse, err error)
func (*RatingService) GetAggregatedRating ¶
func (r *RatingService) GetAggregatedRating(ctx context.Context, req *v1.GetAggregatedRatingRequest) (resp *v1.GetAggregatedRatingResponse, err error)
Click to show internal directories.
Click to hide internal directories.