Documentation ¶
Index ¶
- type VideoService
- func (vs *VideoService) GetVideos(ctx context.Context, req *pb.GetVideosReq) (*pb.GetVideosResp, error)
- func (vs *VideoService) Judge(ctx context.Context, req *pb.JudgeReq) (*pb.JudgeResp, error)
- func (vs *VideoService) Like(ctx context.Context, req *pb.LikeReq) (*pb.LikeResp, error)
- func (vs *VideoService) Share(ctx context.Context, req *pb.ShareReq) (*pb.ShareResp, error)
- func (vs *VideoService) Upload(ctx context.Context, req *pb.UploadReq) (*pb.UploadResp, error)
- func (vs *VideoService) View(ctx context.Context, req *pb.ViewReq) (*pb.ViewResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VideoService ¶
type VideoService struct {
pb.UnimplementedVideoServiceServer
}
func (*VideoService) GetVideos ¶
func (vs *VideoService) GetVideos(ctx context.Context, req *pb.GetVideosReq) (*pb.GetVideosResp, error)
func (*VideoService) Upload ¶
func (vs *VideoService) Upload(ctx context.Context, req *pb.UploadReq) (*pb.UploadResp, error)
Click to show internal directories.
Click to hide internal directories.