11 lines
249 B
Go
11 lines
249 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)
|