empact/job/management.go

24 lines
225 B
Go
Raw Normal View History

2015-03-04 18:43:44 +07:00
package job
import (
"time"
"code.google.com/p/go-uuid/uuid"
)
type (
order byte
report struct {
duration time.Duration
success bool
}
)
const (
stop order = iota
)
func newID() string {
return uuid.New()
}