Documentation
¶
Index ¶
- func ExistsTodayHistory(ctx context.Context, anchorId int, date string) bool
- func GenLiveSessionById(ctx context.Context, liveId int) *lives.LiveSession
- func GenLiveSessionsByIds(ctx context.Context, liveIds []int) []*lives.LiveSession
- func GetAllAnchorInfo(ctx context.Context) []*entity.AnchorInfo
- func GetAllPushChannel(ctx context.Context) []*model.PushChannel
- func IsNonLiveHours(ctx context.Context, liveId int) bool
- func SaveTodayHistory(ctx context.Context, history do.AnchorInfoHistory) error
- func UpdateAnchorInfo(ctx context.Context, info do.AnchorInfo, aid int) error
- func UpdateRoomInfo(ctx context.Context, liveSession *lives.LiveSession)
- type LiveDuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistsTodayHistory ¶ added in v0.0.3
func GenLiveSessionById ¶
func GenLiveSessionById(ctx context.Context, liveId int) *lives.LiveSession
func GenLiveSessionsByIds ¶
func GenLiveSessionsByIds(ctx context.Context, liveIds []int) []*lives.LiveSession
func GetAllAnchorInfo ¶ added in v0.0.3
func GetAllAnchorInfo(ctx context.Context) []*entity.AnchorInfo
func GetAllPushChannel ¶ added in v0.0.2
func GetAllPushChannel(ctx context.Context) []*model.PushChannel
func SaveTodayHistory ¶ added in v0.0.3
func SaveTodayHistory(ctx context.Context, history do.AnchorInfoHistory) error
func UpdateAnchorInfo ¶ added in v0.0.3
func UpdateRoomInfo ¶
func UpdateRoomInfo(ctx context.Context, liveSession *lives.LiveSession)
Types ¶
type LiveDuration ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.