service

package
v0.0.0-...-07075f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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) Judge

func (vs *VideoService) Judge(ctx context.Context, req *pb.JudgeReq) (*pb.JudgeResp, error)

func (*VideoService) Like

func (vs *VideoService) Like(ctx context.Context, req *pb.LikeReq) (*pb.LikeResp, error)

func (*VideoService) Share

func (vs *VideoService) Share(ctx context.Context, req *pb.ShareReq) (*pb.ShareResp, error)

func (*VideoService) Upload

func (vs *VideoService) Upload(ctx context.Context, req *pb.UploadReq) (*pb.UploadResp, error)

func (*VideoService) View

func (vs *VideoService) View(ctx context.Context, req *pb.ViewReq) (*pb.ViewResp, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL