Documentation ¶ Index ¶ Constants type Config type Plugin func New() *Plugin func (bp *Plugin) Boot(conf interface{}, dependencies ...interface{}) plugins.Plugin func (bp *Plugin) Close() error func (bp *Plugin) IsEnabled() bool func (bp *Plugin) Name() string func (bp *Plugin) Start() error Constants ¶ View Source const Name = "boot" Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Home string `env:"HOME" yaml:"home"` } type Plugin ¶ type Plugin struct { Logger *log.Entry ID xid.ID SignalChan chan os.Signal CleanupDone chan bool } func New ¶ func New() *Plugin func (*Plugin) Boot ¶ func (bp *Plugin) Boot(conf interface{}, dependencies ...interface{}) plugins.Plugin func (*Plugin) Close ¶ func (bp *Plugin) Close() error func (*Plugin) IsEnabled ¶ func (bp *Plugin) IsEnabled() bool func (*Plugin) Name ¶ func (bp *Plugin) Name() string func (*Plugin) Start ¶ func (bp *Plugin) Start() error Source Files ¶ View all Source files boot.go Click to show internal directories. Click to hide internal directories.