Documentation ¶
Index ¶
- type RecommendServer
- func (s *RecommendServer) DeleteItem(ctx context.Context, in *pb.DeleteItemReq) (*pb.DeleteItemResp, error)
- func (s *RecommendServer) GetRecommendByItem(ctx context.Context, in *pb.GetRecommendByItemIdReq) (*pb.GetRecommendByItemIdResp, error)
- func (s *RecommendServer) GetRecommendByUserId(ctx context.Context, in *pb.GetRecommendByUserIdReq) (*pb.GetRecommendByUserIdResp, error)
- func (s *RecommendServer) InsertFeedBack(ctx context.Context, in *pb.InsertFeedBackReq) (*pb.InsertFeedBackResp, error)
- func (s *RecommendServer) InsertItem(ctx context.Context, in *pb.InsertItemReq) (*pb.InsertItemResp, error)
- func (s *RecommendServer) UpdateItem(ctx context.Context, in *pb.UpdateItemReq) (*pb.UpdateItemResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecommendServer ¶
type RecommendServer struct { pb.UnimplementedRecommendServer // contains filtered or unexported fields }
func NewRecommendServer ¶
func NewRecommendServer(svcCtx *svc.ServiceContext) *RecommendServer
func (*RecommendServer) DeleteItem ¶
func (s *RecommendServer) DeleteItem(ctx context.Context, in *pb.DeleteItemReq) (*pb.DeleteItemResp, error)
func (*RecommendServer) GetRecommendByItem ¶
func (s *RecommendServer) GetRecommendByItem(ctx context.Context, in *pb.GetRecommendByItemIdReq) (*pb.GetRecommendByItemIdResp, error)
func (*RecommendServer) GetRecommendByUserId ¶
func (s *RecommendServer) GetRecommendByUserId(ctx context.Context, in *pb.GetRecommendByUserIdReq) (*pb.GetRecommendByUserIdResp, error)
func (*RecommendServer) InsertFeedBack ¶
func (s *RecommendServer) InsertFeedBack(ctx context.Context, in *pb.InsertFeedBackReq) (*pb.InsertFeedBackResp, error)
func (*RecommendServer) InsertItem ¶
func (s *RecommendServer) InsertItem(ctx context.Context, in *pb.InsertItemReq) (*pb.InsertItemResp, error)
func (*RecommendServer) UpdateItem ¶
func (s *RecommendServer) UpdateItem(ctx context.Context, in *pb.UpdateItemReq) (*pb.UpdateItemResp, error)
Click to show internal directories.
Click to hide internal directories.