Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChanSchedule ¶
type ChanSchedule struct {
// contains filtered or unexported fields
}
func (*ChanSchedule) Close ¶
func (d *ChanSchedule) Close()
func (*ChanSchedule) Count ¶
func (d *ChanSchedule) Count() int
func (*ChanSchedule) Push ¶
func (d *ChanSchedule) Push(req *model.Request)
func (*ChanSchedule) PushMulti ¶
func (d *ChanSchedule) PushMulti(reqs []*model.Request)
type RedisSchedule ¶
type RedisSchedule struct {
// contains filtered or unexported fields
}
func (*RedisSchedule) Close ¶
func (r *RedisSchedule) Close()
func (*RedisSchedule) Count ¶
func (r *RedisSchedule) Count() int
func (*RedisSchedule) CronCount ¶
func (r *RedisSchedule) CronCount(flushTime int)
func (*RedisSchedule) Push ¶
func (r *RedisSchedule) Push(req *model.Request)
func (*RedisSchedule) PushMulti ¶
func (r *RedisSchedule) PushMulti(reqs []*model.Request)
Click to show internal directories.
Click to hide internal directories.