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 DelUserInfoNullKey(ctx context.Context, uid int64) error
- func DelUserLoginNullKey(ctx context.Context, username string) error
- func GetFavoriteStatus(ctx context.Context, uid, vid int64) (bool, error)
- func GetFollowState(ctx context.Context, uid, followUid int64) (bool, error)
- func GetPublishInfo(ctx context.Context, uid int64) ([]int64, error)
- func GetPublishInfoNullKey(ctx context.Context, uid int64) error
- func GetUserCounter(ctx context.Context, uid int64) (*model.User, error)
- func GetUserInfo(ctx context.Context, uid int64) (*model.User, error)
- func GetUserInfoNullKey(ctx context.Context, uid int64) error
- func GetUserLoginNullKey(ctx context.Context, username string) error
- func GetVideoCounter(ctx context.Context, vid int64) (*model.Video, error)
- func GetVideoInfo(ctx context.Context, vid int64) (*model.Video, error)
- func NewPublishInfo(ctx context.Context, uid int64, vidList []int64) error
- func NewUserCounters(ctx context.Context, users []*model.User) error
- func NewUserInfoNullKey(ctx context.Context, uid int64, duration time.Duration) error
- func NewUserInfos(ctx context.Context, users []*model.User, duration time.Duration) error
- func NewUserLoginNullKey(ctx context.Context, username string, duration time.Duration) 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 NewUserInfoNullKey ¶
func NewUserInfos ¶
func NewUserLoginNullKey ¶
func NewVideoInfos ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.