Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool alias of ants.Pool
func NewWorkerPoolWithOptions ¶
NewWorkerPoolWithOptions 创建Worker池, 支持传入ants Option.
type WorkerLogger ¶
type WorkerLogger struct { }
WorkerLogger log handler
func (WorkerLogger) Printf ¶
func (WorkerLogger) Printf(format string, args ...interface{})
Printf implements ants.Logger
Click to show internal directories.
Click to hide internal directories.