videoservice

package
v0.0.0-...-993ae46 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: GPL-3.0 Imports: 6 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 New

func (*VideoService) AssembleAuthorInfo

func (s *VideoService) AssembleAuthorInfo(ctx context.Context, data []*svapi.Video)

func (*VideoService) AssembleUserIsFollowing

func (s *VideoService) AssembleUserIsFollowing(ctx context.Context, list []*svapi.Video, userId int64)

func (*VideoService) AssembleVideo

func (s *VideoService) AssembleVideo(ctx context.Context, userId int64, data []*v1.Video) ([]*svapi.Video, error)

func (*VideoService) AssembleVideoCountInfo

func (s *VideoService) AssembleVideoCountInfo(ctx context.Context, list []*svapi.Video)

func (*VideoService) AssembleVideoList

func (s *VideoService) AssembleVideoList(ctx context.Context, userId int64, data []*v1.Video) ([]*svapi.Video, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳