service

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

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeSuccess = 0
	CodeFailed  = 300
)

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type PublishService

type PublishService struct {
	pb.UnimplementedPublishServiceServer
	// contains filtered or unexported fields
}

func NewPublishService

func NewPublishService(uc *biz.PublishUseCase, logger log.Logger) *PublishService

func (*PublishService) FeedList

FeedList 返回一个按照投稿时间倒序的视频列表,单次最多30个视频

func (*PublishService) GetPublishList

func (s *PublishService) GetPublishList(ctx context.Context, req *pb.PublishListRequest) (*pb.PublishListReply, error)

func (*PublishService) GetVideoListByVideoIds

func (s *PublishService) GetVideoListByVideoIds(ctx context.Context, req *pb.VideoListByVideoIdsRequest) (*pb.VideoListReply, error)

func (*PublishService) PublishAction

Jump to

Keyboard shortcuts

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