Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
type HandlerFunc func(interface{}, error)
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
func MakeJobs ¶
func MakeJobs(n int, process ProcessorFunc, handle HandlerFunc) []Job
func NewJob ¶
func NewJob(process ProcessorFunc, handler HandlerFunc) Job
type ProcessorFunc ¶
type ProcessorFunc func() (interface{}, error)
Click to show internal directories.
Click to hide internal directories.