gearman-go/client/status.go

12 lines
259 B
Go
Raw Permalink Normal View History

2013-01-15 17:55:44 +08:00
package client
2013-08-30 12:36:57 +08:00
// Status handler
// handle, known, running, numerator, denominator
type StatusHandler func(string, bool, bool, uint64, uint64)
2013-01-15 17:55:44 +08:00
type Status struct {
2013-08-30 11:20:51 +08:00
Handle string
2013-08-29 16:51:23 +08:00
Known, Running bool
Numerator, Denominator uint64
2013-01-15 17:55:44 +08:00
}