gearman-go/client/handler.go
2013-08-29 18:08:05 +08:00

12 lines
250 B
Go

package client
// Response handler
type ResponseHandler func(*Response)
// Error handler
type ErrorHandler func(error)
// Status handler
// handle, known, running, numerator, denominator
type StatusHandler func(string, bool, bool, uint64, uint64)