Documentation ¶
Index ¶
- Constants
- type Config
- type Plugin
- func (c *Plugin) CollectCheckerImpls(name endure.Named, r status.Checker) error
- func (c *Plugin) CollectReadinessImpls(name endure.Named, r status.Readiness) error
- func (c *Plugin) Collects() []interface{}
- func (c *Plugin) Init(log *zap.Logger, cfg config.Configurer) error
- func (c *Plugin) Name() string
- func (c *Plugin) RPC() interface{}
- func (c *Plugin) Serve() chan 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 Config ¶
type Config struct { // Address of the http server Address string UnavailableStatusCode int `mapstructure:"unavailable_status_code"` }
Config is the configuration reference for the Status plugin
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) CollectCheckerImpls ¶
CollectCheckerImpls collects services which can provide Status.
func (*Plugin) CollectReadinessImpls ¶
CollectReadinessImpls collects services which can provide Readiness check.
Click to show internal directories.
Click to hide internal directories.