// Code generated by goctl. DO NOT EDIT! // Source: gift.proto package server import ( "context" "live-service/app/gift/rpc/internal/logic" "live-service/app/gift/rpc/internal/svc" "live-service/app/gift/rpc/pb" ) type GiftServer struct { svcCtx *svc.ServiceContext pb.UnimplementedGiftServer } func NewGiftServer(svcCtx *svc.ServiceContext) *GiftServer { return &GiftServer{ svcCtx: svcCtx, } } // collectGift 收集礼物,仅作为收集使用 func (s *GiftServer) CollectGift(ctx context.Context, in *pb.CollectGift) (*pb.Empty, error) { l := logic.NewCollectGiftLogic(ctx, s.svcCtx) return l.CollectGift(in) }