Documentation ¶
Index ¶
- Constants
- type Config
- type Plugin
- func (c *Plugin) CollectTarget(name endure.Named, r status.Checker) error
- func (c *Plugin) Collects() []interface{}
- func (c *Plugin) Init(log log.Logger, cfg config.Configurer) error
- func (c *Plugin) Name() string
- func (c *Plugin) RPC() interface{}
- func (c *Plugin) Serve() chan error
- func (c *Plugin) Status(name string) (status.Status, error)
- func (c *Plugin) Stop() error
- type Plugins
Constants ¶
View Source
const (
// PluginName declares public plugin name.
PluginName = "status"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) CollectTarget ¶
CollectTarget collecting services which can provide Status.
func (*Plugin) Collects ¶
func (c *Plugin) Collects() []interface{}
Collects declares services to be collected.
Click to show internal directories.
Click to hide internal directories.