Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry interface {
AfterStop(func())
BeforeStop(func())
AfterStart(func())
BeforeStart(func())
Watcher(projects ...string)
Middleware(middleware types.Middleware)
Description(description ...string)
Flags(flags cli.Flag)
Commands(commands *cli.Command)
}
type InitHandler ¶
type InitHandler interface {
Init()
}
type Opts ¶
type Opts struct {
Name string
BeforeStarts []func()
AfterStarts []func()
BeforeStops []func()
AfterStops []func()
Command *cli.Command
Handlers []InitHandler
WatchProjects []string
Middlewares []types.Middleware
}
Click to show internal directories.
Click to hide internal directories.