Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewRankingService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type RankingService ¶
type RankingService struct { pb.UnimplementedRankingServer // contains filtered or unexported fields }
func NewRankingService ¶
func NewRankingService(biz *biz.RankingBiz) *RankingService
func (*RankingService) ListTopN ¶
func (s *RankingService) ListTopN(ctx context.Context, req *pb.ListTopNRequest) (*pb.ListTopNReply, error)
func (*RankingService) TopN ¶
func (s *RankingService) TopN(ctx context.Context, req *pb.TopNRequest) (*pb.TopNReply, error)
Click to show internal directories.
Click to hide internal directories.