Documentation ¶
Index ¶
- Variables
- func Add(taskModel models.Task) error
- func BatchAdd(tasks []models.Task)
- func Initialize()
- func NextRunTime(taskModel models.Task) time.Time
- func Remove(id int, taskLogId uint)
- func RemoveAndAdd(taskModel models.Task, taskLogId uint) error
- func Run(taskModel models.Task)
- func Tracking(trackerId int, taskModel models.Task) error
- func WaitAndExit()
- type ConcurrencyQueue
- type HTTPGetHandler
- type HTTPPostHandler
- type Handler
- type Instance
- type TaskCount
- type TrackingHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var EndTime string // 结束时间
View Source
var Ordercount int // 订单数
View Source
var Orderfailcount int // 失败订单数
View Source
var Sendcount int // 推送数
View Source
var StartTime string // 开始时间
View Source
var Usercount int // 用户数
Functions ¶
Types ¶
type ConcurrencyQueue ¶
type ConcurrencyQueue struct {
// contains filtered or unexported fields
}
并发队列
func (*ConcurrencyQueue) Add ¶
func (cq *ConcurrencyQueue) Add()
func (*ConcurrencyQueue) Done ¶
func (cq *ConcurrencyQueue) Done()
Click to show internal directories.
Click to hide internal directories.