Documentation ¶
Index ¶
- func InitNoPageRouter() *gin.Engine
- func InitRouter(page embed.FS) *gin.Engine
- func RunRouter(router *gin.Engine)
- type Course
- type CourseService
- type Push
- type SettingService
- type Subject
- type SubjectService
- type UserService
- type WorkService
- func (ws WorkService) Close() bool
- func (ws WorkService) GetPlayerState() bool
- func (ws WorkService) GetScreenshot(ctx *gin.Context)
- func (ws WorkService) GetState(ctx *gin.Context)
- func (ws WorkService) KeepPlaying()
- func (ws WorkService) Recovery(ctx *gin.Context)
- func (ws WorkService) Start(ctx *gin.Context)
- func (ws WorkService) Stop(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitNoPageRouter ¶
Types ¶
type CourseService ¶
type SettingService ¶
type SettingService struct{}
func (SettingService) GetPush ¶
func (ss SettingService) GetPush(ctx *gin.Context)
func (SettingService) SettingPush ¶
func (ss SettingService) SettingPush(ctx *gin.Context)
type SubjectService ¶
type UserService ¶
func (UserService) GetQrState ¶
func (us UserService) GetQrState(ctx *gin.Context)
获取二维码登录状态(0离开1等待2成功3失败4未生成)
type WorkService ¶
Click to show internal directories.
Click to hide internal directories.