Documentation ¶
Index ¶
- type Entry
- func (t *Entry) AfterStart(f func())
- func (t *Entry) AfterStop(f func())
- func (t *Entry) BeforeStart(f func())
- func (t *Entry) BeforeStop(f func())
- func (t *Entry) Commands(cmd *cli.Command)
- func (t *Entry) Description(description ...string)
- func (t *Entry) Flags(flag cli.Flag)
- func (t *Entry) InitRT()
- func (t *Entry) Middleware(middleware types.Middleware)
- func (t *Entry) MiddlewareInter(middleware types.Middleware)
- func (t *Entry) OnInit(init func())
- func (t *Entry) Options() entry.Opts
- func (t *Entry) RegisterHandler(h entry.InitHandler)
- func (t *Entry) Start() error
- func (t *Entry) Stop() error
- func (t *Entry) Watcher(projects ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
func (*Entry) AfterStart ¶
func (t *Entry) AfterStart(f func())
func (*Entry) BeforeStart ¶
func (t *Entry) BeforeStart(f func())
func (*Entry) BeforeStop ¶
func (t *Entry) BeforeStop(f func())
func (*Entry) Description ¶
func (*Entry) Middleware ¶
func (t *Entry) Middleware(middleware types.Middleware)
func (*Entry) MiddlewareInter ¶
func (t *Entry) MiddlewareInter(middleware types.Middleware)
func (*Entry) RegisterHandler ¶
func (t *Entry) RegisterHandler(h entry.InitHandler)
Click to show internal directories.
Click to hide internal directories.