plugin6

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
}

func (*Plugin) Init

func (p *Plugin) Init() error

func (*Plugin) ProvideWithInterfaceAndStruct

func (p *Plugin) ProvideWithInterfaceAndStruct(named endure.Named, p3 *Plugin3) (SuperInterface, error)

func (*Plugin) ProvideWithName

func (p *Plugin) ProvideWithName(named endure.Named) (SuperInterface, error)

func (*Plugin) ProvideWithOutName

func (p *Plugin) ProvideWithOutName() (SuperInterface, error)

func (*Plugin) Provides

func (p *Plugin) Provides() []any

Provides declares factory methods.

func (*Plugin) Serve

func (p *Plugin) Serve() chan error

func (*Plugin) Stop

func (p *Plugin) Stop() error

type Plugin2

type Plugin2 struct {
}

func (*Plugin2) Init

func (p *Plugin2) Init(super SuperInterface) error

func (*Plugin2) Name

func (p *Plugin2) Name() string

func (*Plugin2) Serve

func (p *Plugin2) Serve() chan error

func (*Plugin2) Stop

func (p *Plugin2) Stop() error

type Plugin3

type Plugin3 struct {
}

func (*Plugin3) Boo

func (p *Plugin3) Boo() string

func (*Plugin3) Init

func (p *Plugin3) Init() error

func (*Plugin3) Serve

func (p *Plugin3) Serve() chan error

func (*Plugin3) Stop

func (p *Plugin3) Stop() error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL