pack

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFavorite

func IsFavorite(ctx context.Context, q *query.Query, userViewId int64, videoId int64) (bool, error)

IsFavorite user (view) favorite video

func IsFollow

func IsFollow(ctx context.Context, q *query.Query, userViewId int64, userId int64) (bool, error)

IsFollow user (view) follow user

func QueryUser

func QueryUser(ctx context.Context, uid int64) (*model.User, error)

QueryUser can only be called by rpc servers

func QueryVideo added in v0.0.5

func QueryVideo(ctx context.Context, vid int64) (*model.Video, error)

QueryVideo can only be called by rpc servers

Types

This section is empty.

Jump to

Keyboard shortcuts

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