Documentation ¶
Index ¶
- type CLI
- func (c *CLI) RegisterEndpoint(method, path string, handler web.HandlerFunc)
- func (c *CLI) RegisterJobMiddleware(mw job.MiddlewareFunc)
- func (c *CLI) RegisterNodeMiddleware(mw node.MiddlewareFunc)
- func (c *CLI) RegisterTaskMiddleware(mw task.MiddlewareFunc)
- func (c *CLI) RegisterWebMiddleware(mw web.MiddlewareFunc)
- func (c *CLI) Run() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶ added in v0.1.2
type CLI struct {
// contains filtered or unexported fields
}
func (*CLI) RegisterEndpoint ¶ added in v0.1.5
func (c *CLI) RegisterEndpoint(method, path string, handler web.HandlerFunc)
func (*CLI) RegisterJobMiddleware ¶ added in v0.1.5
func (c *CLI) RegisterJobMiddleware(mw job.MiddlewareFunc)
func (*CLI) RegisterNodeMiddleware ¶ added in v0.1.5
func (c *CLI) RegisterNodeMiddleware(mw node.MiddlewareFunc)
func (*CLI) RegisterTaskMiddleware ¶ added in v0.1.5
func (c *CLI) RegisterTaskMiddleware(mw task.MiddlewareFunc)
func (*CLI) RegisterWebMiddleware ¶ added in v0.1.6
func (c *CLI) RegisterWebMiddleware(mw web.MiddlewareFunc)
Click to show internal directories.
Click to hide internal directories.