Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurer ¶
type Middleware ¶
Middleware represents http stdlib middleware interface
type Pool ¶
type Pool interface { // Workers return a worker list associated with the pool. Workers() (workers []*worker.Process) // RemoveWorker removes worker from the pool. RemoveWorker(ctx context.Context) error // AddWorker adds worker to the pool. AddWorker() error // Exec payload Exec(ctx context.Context, p *payload.Payload, stopCh chan struct{}) (chan *staticPool.PExec, error) // Reset kill all workers inside the watcher and replaces with new Reset(ctx context.Context) error // Destroy all underlying stacks (but let them complete the task). Destroy(ctx context.Context) }
Click to show internal directories.
Click to hide internal directories.