Documentation
¶
Index ¶
- type Named
- type Plugin
- func (p *Plugin) Init() error
- func (p *Plugin) ProvideWithInterfaceAndStruct() SuperInterface
- func (p *Plugin) ProvideWithName() SuperInterface
- func (p *Plugin) ProvideWithOutName() SuperInterface
- func (p *Plugin) Provides() []*dep.Out
- func (p *Plugin) Serve() chan error
- func (p *Plugin) Stop(context.Context) error
- type Plugin2
- type Plugin3
- type SomeOtherStruct
- type SuperInterface
- type Yo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
}
func (*Plugin) ProvideWithInterfaceAndStruct ¶
func (p *Plugin) ProvideWithInterfaceAndStruct() SuperInterface
func (*Plugin) ProvideWithName ¶
func (p *Plugin) ProvideWithName() SuperInterface
func (*Plugin) ProvideWithOutName ¶
func (p *Plugin) ProvideWithOutName() SuperInterface
type SomeOtherStruct ¶
type SomeOtherStruct struct{}
func (*SomeOtherStruct) Yo ¶
func (s *SomeOtherStruct) Yo() string
type SuperInterface ¶
type SuperInterface interface {
Yo() string
}
func NewSomeOtherStruct ¶
func NewSomeOtherStruct() SuperInterface
Click to show internal directories.
Click to hide internal directories.