Documentation ¶
Index ¶
- type Entity
- type Provider
- func (bp *Provider) GetAliveHandlers(prefix string) stats.MapCheckFunc
- func (bp *Provider) GetMetrics(prefix string) stats.MapMetricsOptions
- func (bp *Provider) GetReadyHandlers(prefix string) stats.MapCheckFunc
- func (bp *Provider) Shutdown() error
- func (bp *Provider) ShutdownEnity(enityName string) error
- func (bp *Provider) Start() error
- func (bp *Provider) StartEnity(enityName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity interface { provider.Entity GetMetrics(prefix string) stats.MapMetricsOptions GetAliveHandlers(prefix string) stats.MapCheckFunc GetReadyHandlers(prefix string) stats.MapCheckFunc }
type Provider ¶
Provider provides abstract worker.
func NewProvider ¶
NewProvider creates provider
func (*Provider) GetAliveHandlers ¶
func (bp *Provider) GetAliveHandlers(prefix string) stats.MapCheckFunc
GetAliveHandlers return array of the aliveHandlers from provider
func (*Provider) GetMetrics ¶
func (bp *Provider) GetMetrics(prefix string) stats.MapMetricsOptions
GetMetrics return map of the metrics from provider
func (*Provider) GetReadyHandlers ¶
func (bp *Provider) GetReadyHandlers(prefix string) stats.MapCheckFunc
GetReadyHandlers return array of the readyHandlers from provider
func (*Provider) ShutdownEnity ¶ added in v0.2.0
ShutdownEnity starts connection things like watchers and queues.
func (*Provider) StartEnity ¶ added in v0.2.0
StartEnity starts connection things like watchers and queues.
Click to show internal directories.
Click to hide internal directories.