Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisScheduler ¶
type RedisScheduler struct {
// contains filtered or unexported fields
}
func NewRedisScheduler ¶
func NewRedisScheduler(addr string, maxConn, maxIdle int, forbiddenDuplicateUrl bool) *RedisScheduler
func (*RedisScheduler) Count ¶
func (this *RedisScheduler) Count() int
func (*RedisScheduler) Init ¶
func (this *RedisScheduler) Init() *RedisScheduler
func (*RedisScheduler) Poll ¶
func (this *RedisScheduler) Poll() *request.Request
func (*RedisScheduler) Push ¶
func (this *RedisScheduler) Push(requ *request.Request)
Click to show internal directories.
Click to hide internal directories.