Documentation ¶
Index ¶
- func AddPublishInfo(ctx context.Context, uid, vid int64) error
- func AddPublishInfoNullKey(ctx context.Context, uid int64, duration time.Duration) error
- func DelPublishInfoNullKey(ctx context.Context, uid int64) error
- func GetFavoriteStatus(ctx context.Context, uid, vid int64) (bool, error)
- func GetPublishInfo(ctx context.Context, uid int64) ([]int64, error)
- func GetPublishInfoNullKey(ctx context.Context, uid int64) error
- func GetUserInfoNullKey(ctx context.Context, uid int64) error
- func GetVideoCounter(ctx context.Context, vid int64) (*model.Video, error)
- func GetVideoInfo(ctx context.Context, vid int64) (*model.Video, error)
- func IncrWorkCount(ctx context.Context, uid int64) error
- func NewPublishInfo(ctx context.Context, uid int64, vidList []int64) error
- func NewVideoCounters(ctx context.Context, videos []*model.Video) error
- func NewVideoInfos(ctx context.Context, videos []*model.Video, duration time.Duration) error
- func PushVideoQueue(ctx context.Context, vid int64, maxCap int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPublishInfoNullKey ¶
func NewVideoInfos ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.