service

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistsTodayHistory added in v0.0.3

func ExistsTodayHistory(ctx context.Context, anchorId int, date string) bool

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 UpdateAnchorInfo(ctx context.Context, info do.AnchorInfo, aid int) error

func UpdateRoomInfo

func UpdateRoomInfo(ctx context.Context, liveSession *lives.LiveSession)

Types

This section is empty.

Jump to

Keyboard shortcuts

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