dal

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVideoByVideosId

func GetVideoByVideosId(ctx context.Context, videoId int64) (*db.Video, error)

GetVideosByVideosId

func MGetUserVideos

func MGetUserVideos(ctx context.Context, userId int64) ([]*db.Video, error)

MGetUserVideos multi get video list by user id.

func MGetVideos

func MGetVideos(ctx context.Context, latestTime *int64) ([]*db.Video, error)

MGetVideos multiple get list of videos info. Feed interface.

func PublishVideo

func PublishVideo(ctx context.Context, videoModel *db.Video) error

PublishVideo store the video info into database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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