2013-01-14 17:59:48 +08:00
|
|
|
package client
|
|
|
|
|
2013-08-29 16:51:23 +08:00
|
|
|
// 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)
|