service

package
v0.0.0-...-36af1b1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 3

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, c *app.RequestContext) *FeedService

NewFeedService create feed service

func (*FeedService) CopyVideos

func (s *FeedService) CopyVideos(result *[]*common.Video, data *[]*db.Video, userId int64) error

CopyVideos use db.Video make feed.Video

func (*FeedService) Feed

Feed get the last ten videos until the deadline

Jump to

Keyboard shortcuts

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