Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager controls a worker pool connected to a queue.
func NewManager ¶
func NewManager(conn *grpc.ClientConn, id, baseURL, handlersDir string, numWorkers int) *Manager
NewManager starts a worker pool of size numWorkers connected to the given (presumably local) queue, running scripts off the handlersDir.
Click to show internal directories.
Click to hide internal directories.