service

package
v0.0.0-...-48d44df Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 7 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 {
	// contains filtered or unexported fields
}

func NewVideoService

func NewVideoService(ctx context.Context) *VideoService

func (*VideoService) CreateVideo

func (s *VideoService) CreateVideo(req *video_rpc.CreateVideoReq) error

func (*VideoService) QueryVideo

func (s *VideoService) QueryVideo(req *video_rpc.QueryVideoReq) ([]*video_rpc.Video, int64, error)

func (*VideoService) QueryVideoByUser

func (s *VideoService) QueryVideoByUser(req *video_rpc.QueryVideoByUserReq) ([]*video_rpc.Video, error)

Jump to

Keyboard shortcuts

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