Documentation ¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) Collects() []interface{}
- func (p *Plugin) GetAll() []string
- func (p *Plugin) Init(log log.Logger) error
- func (p *Plugin) Name() string
- func (p *Plugin) RPC() interface{}
- func (p *Plugin) RegisterTarget(name endure.Named, r resetter.Resettable) error
- func (p *Plugin) Reset(name string) error
- func (p *Plugin) ResetAll() error
- func (p *Plugin) ResetByName(plugin string) error
Constants ¶
View Source
const PluginName = "resetter"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Collects ¶
func (p *Plugin) Collects() []interface{}
Collects declares services to be collected.
func (*Plugin) RegisterTarget ¶
RegisterTarget resettable service.
func (*Plugin) ResetByName ¶
Click to show internal directories.
Click to hide internal directories.