cronjob

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDailyDoneNum added in v1.0.0

func GetDailyDoneNum(userId uint, ttype string) (int, error)

func Init

func Init(ctx context.Context) error

func PickProblem added in v0.1.5

func PickProblem(ctx context.Context)

PickProblem the detail of cornjob, pick daily problem for every user

func PickProblemByTypeAndNum added in v0.1.5

func PickProblemByTypeAndNum(userid uint, ttype string, dailyNum int) error

func PickProblemByUser added in v0.1.5

func PickProblemByUser(user model.User) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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