Documentation ¶
Index ¶
- Constants
- type Availabler
- type Informer
- type Plugin
- func (p *Plugin) CollectPlugins(name endure.Named, l Availabler)
- func (p *Plugin) CollectWorkers(name endure.Named, r Informer)
- func (p *Plugin) Collects() []interface{}
- func (p *Plugin) Init() error
- func (p *Plugin) Name() string
- func (p *Plugin) RPC() interface{}
- func (p *Plugin) Workers(name string) ([]process.State, error)
- type WorkerList
Constants ¶
View Source
const PluginName = "informer"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Availabler ¶ added in v2.2.0
type Availabler interface {
// Available method needed to collect all plugins which are available in the runtime.
Available()
}
Availabler interface should be implemented by every plugin which wish to report to the PHP worker that it available in the RR runtime
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) CollectPlugins ¶ added in v2.2.0
func (p *Plugin) CollectPlugins(name endure.Named, l Availabler)
CollectPlugins collects all RR plugins
func (*Plugin) CollectWorkers ¶ added in v2.2.0
CollectWorkers obtains plugins with workers inside.
type WorkerList ¶
WorkerList contains list of workers.
Click to show internal directories.
Click to hide internal directories.