Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_RETRIES = 3
View Source
const POOL_SIZE = 20
Variables ¶
View Source
var ErrWatchFailed = errors.New("watching for completed tasks failed")
Functions ¶
func NewTaskWorkerPool ¶
Types ¶
type TaskHandler ¶
type TaskHandler struct {
// contains filtered or unexported fields
}
func (*TaskHandler) ServeHTTP ¶
func (t *TaskHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.