Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
Job Wraps JobFun and provide:
- Creation, Start, and Finish Time
- Recover From Panics
func NewJobWithID ¶
NewJobWithID Create new Job with the supplied Id.
func (*Job) ActualElapsed ¶
ActualElapsed Return the actual time of procession of Job. Return -1 if job hasn't started yet.
func (*Job) TotalElapsed ¶
TotalElapsed Returns the total time between creation of object and finishing processing its job. Return -1 if job hasn't started yet.
type JobCtxValue ¶
type JobCtxValue struct{}
Click to show internal directories.
Click to hide internal directories.