gearman-go/client/handler.go

12 lines
250 B
Go
Raw Normal View History

2013-01-14 17:59:48 +08:00
package client
2013-08-29 16:51:23 +08:00
// Response handler
2013-08-29 18:08:05 +08:00
type ResponseHandler func(*Response)
2013-08-29 16:51:23 +08:00
// Error handler
type ErrorHandler func(error)
// Status handler
// handle, known, running, numerator, denominator
type StatusHandler func(string, bool, bool, uint64, uint64)