service

package
v0.0.0-...-7de97a6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedService

type FeedService struct {
	// contains filtered or unexported fields
}

func NewFeedService

func NewFeedService(ctx context.Context) *FeedService

NewFeedService new FeedService

func (*FeedService) Feed

func (s *FeedService) Feed(req *VideoServer.DouyinFeedRequest) (videos []*VideoServer.Video, nextTime int64, err error)

Feed used for feed service, get videos by latestTime.

type PublishActionService

type PublishActionService struct {
	// contains filtered or unexported fields
}

func NewPublishActionService

func NewPublishActionService(ctx context.Context) *PublishActionService

NewPublishActionService new PublishAction

func (*PublishActionService) PublishAction

PublishAction post video into the minio buckets and database.

type PublishListService

type PublishListService struct {
	// contains filtered or unexported fields
}

func NewPublishListService

func NewPublishListService(ctx context.Context) *PublishListService

NewPublishListService new PublishListService

func (*PublishListService) PublishList

func (s *PublishListService) PublishList(req *VideoServer.DouyinPublishListRequest) (videoList []*VideoServer.Video, err error)

PublishList get the videoList by user id.

type VideoListByVideoIdService

type VideoListByVideoIdService struct {
	// contains filtered or unexported fields
}

func NewVideoListByVideoIdService

func NewVideoListByVideoIdService(ctx context.Context) *VideoListByVideoIdService

func (*VideoListByVideoIdService) GetVideoListByVideoId

func (s *VideoListByVideoIdService) GetVideoListByVideoId(req *VideoServer.DouyinVideoListByVideoId) (videoL []*VideoServer.Video, err error)

通过视频ID获取视频列表

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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