Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinator ¶
type Coordinator struct {
Name string
// contains filtered or unexported fields
}
Coordinator is responsible for accepting tasks from clients, scheduling tasks for workers to execute and for exposing the cluster's state to the outside world.
func NewCoordinator ¶
func NewCoordinator(cfg Config) (*Coordinator, error)
func (*Coordinator) Start ¶
func (c *Coordinator) Start() error
func (*Coordinator) Stop ¶
func (c *Coordinator) Stop() error
type Middleware ¶ added in v0.1.6
type Middleware struct {
Web []web.MiddlewareFunc
Task []task.MiddlewareFunc
Job []job.MiddlewareFunc
Node []node.MiddlewareFunc
Log []logmw.MiddlewareFunc
Echo []echo.MiddlewareFunc
}
Click to show internal directories.
Click to hide internal directories.