Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetFeedService ¶
type GetFeedService struct {
// contains filtered or unexported fields
}
func NewGetFeedService ¶
func NewGetFeedService(ctx context.Context) *GetFeedService
type GetVideoService ¶
type GetVideoService struct {
// contains filtered or unexported fields
}
func NewGetVideoService ¶
func NewGetVideoService(ctx context.Context) *GetVideoService
func (*GetVideoService) GetVideo ¶
func (s *GetVideoService) GetVideo(req *video.VideoRequest) (*video.Video, error)
GetVideo 通过videoID获取单个视频
type PublishService ¶
type PublishService struct {
// contains filtered or unexported fields
}
func NewPublishService ¶
func NewPublishService(ctx context.Context) *PublishService
func (*PublishService) GetPublishList ¶
GetPublishList 获取用户上传的所有视频
func (*PublishService) PublishAction ¶
func (s *PublishService) PublishAction(req *video.PublishActionRequest, authorID int64) error
PublishAction 上传视频
Click to show internal directories.
Click to hide internal directories.