 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stat ¶
type Stat interface {
	// Increment for enqueue event
	IncrEnqueue(mouldId, batchId string)
	// Increment for fetch event
	IncrFetch(mouldId, batchId string)
	// Increment for complete event
	IncrComplete(mouldId, batchId string)
	// Statistics of tasks.
	// Returns 0, 0 if the task not found for the mouldId
	StatTask(mouldId string) (completed, total int)
	// Statistics of batch.
	// Returns 0, 0 if the task not found for the mouldId
	StatBatch(mouldId string) (completed, total int)
}
     Click to show internal directories. 
   Click to hide internal directories.