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(commands ...*cobra.Command)
- func (t *Entry) Description(description ...string)
- func (t *Entry) Dix(data ...interface{})
- func (t *Entry) Flags(fn func(flags *pflag.FlagSet))
- func (t *Entry) Init() (err error)
- func (t *Entry) OnCfg(fn interface{})
- func (t *Entry) OnCfgWithName(name string, fn interface{})
- func (t *Entry) Options() golug_entry.Options
- func (t *Entry) Plugin(plugin golug_plugin.Plugin)
- func (t *Entry) Start() error
- func (t *Entry) Stop() error
- func (t *Entry) Version(v 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 ¶ added in v0.0.9
func (t *Entry) AfterStart(f func())
func (*Entry) BeforeStart ¶ added in v0.0.9
func (t *Entry) BeforeStart(f func())
func (*Entry) BeforeStop ¶ added in v0.0.9
func (t *Entry) BeforeStop(f func())
func (*Entry) Description ¶
func (*Entry) OnCfgWithName ¶
func (*Entry) Options ¶
func (t *Entry) Options() golug_entry.Options
func (*Entry) Plugin ¶
func (t *Entry) Plugin(plugin golug_plugin.Plugin)
Click to show internal directories.
Click to hide internal directories.