serviceside

package
v0.0.0-...-dec19c8 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*pb.UnimplementedServicesideapiServer
	*g.Server
	// contains filtered or unexported fields
}

func NewServer

func NewServer(cfg *g.Config, videoSvc *video.Service) (*Server, error)

func (*Server) GetVideosByStatus

func (srv *Server) GetVideosByStatus(ctx context.Context, req *pb.GetByStatusRequest) (*pb.VideoListResponse, error)

func (*Server) NotifyPartUpload

func (srv *Server) NotifyPartUpload(
	ctx context.Context,
	req *pb.NotifyPartUploadRequest,
) (*pb.NotifyPartUploadResponse, error)

func (*Server) UpdateVideo

func (srv *Server) UpdateVideo(ctx context.Context, req *pb.UpdateVideoRequest) (*pb.UpdateVideoResponse, error)

func (*Server) UpdateVideoStatus

func (srv *Server) UpdateVideoStatus(
	ctx context.Context,
	req *pb.UpdateVideoStatusRequest,
) (*pb.UpdateVideoStatusResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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