Documentation ¶ Index ¶ type Barer type Fooer type Plugin func (p *Plugin) Collects() []*dep.In func (p *Plugin) Init() error func (p *Plugin) Name() string func (p *Plugin) Serve() chan error func (p *Plugin) Stop(context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Barer ¶ type Barer interface { // contains filtered or unexported methods } type Fooer ¶ type Fooer interface { FooBar() string Init(val string) error } type Plugin ¶ type Plugin struct { } func (*Plugin) Collects ¶ func (p *Plugin) Collects() []*dep.In func (*Plugin) Init ¶ func (p *Plugin) Init() error func (*Plugin) Name ¶ func (p *Plugin) Name() string func (*Plugin) Serve ¶ func (p *Plugin) Serve() chan error func (*Plugin) Stop ¶ func (p *Plugin) Stop(context.Context) error Source Files ¶ View all Source files plugin.go Click to show internal directories. Click to hide internal directories.