Documentation ¶ Index ¶ type Fooer type Plugin func (p *Plugin) Init() error func (p *Plugin) InitFoo() *pkg.Foo func (p *Plugin) Name() string func (p *Plugin) Provides() []*dep.Out func (p *Plugin) Serve() chan error func (p *Plugin) Stop(context.Context) error func (p *Plugin) Work() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Fooer ¶ type Fooer interface { FooBar() string Init(val string) error } type Plugin ¶ type Plugin struct { // contains filtered or unexported fields } func (*Plugin) Init ¶ func (p *Plugin) Init() error func (*Plugin) InitFoo ¶ func (p *Plugin) InitFoo() *pkg.Foo func (*Plugin) Name ¶ func (p *Plugin) Name() string func (*Plugin) Provides ¶ func (p *Plugin) Provides() []*dep.Out func (*Plugin) Serve ¶ func (p *Plugin) Serve() chan error func (*Plugin) Stop ¶ func (p *Plugin) Stop(context.Context) error func (*Plugin) Work ¶ func (p *Plugin) Work() Source Files ¶ View all Source files plugin.go Directories ¶ Show internal Expand all Path Synopsis pkg Click to show internal directories. Click to hide internal directories.