gearman-go/client/status.go
2013-08-30 12:36:57 +08:00

12 lines
259 B
Go

package client
// Status handler
// handle, known, running, numerator, denominator
type StatusHandler func(string, bool, bool, uint64, uint64)
type Status struct {
Handle string
Known, Running bool
Numerator, Denominator uint64
}