Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
)Functions ¶
func RegisterCounter ¶
func RegisterCounter(c Counter)
func RegisterCounterListener ¶
func RegisterCounterListener(pluginName string)
Types ¶
type InstanceEventHandler ¶
type InstanceEventHandler struct {
}InstanceEventHandler counting the number of instances Deprecated: Use metrics instead.
func NewInstanceEventHandler ¶
func NewInstanceEventHandler() *InstanceEventHandler
func (*InstanceEventHandler) OnEvent ¶
func (h *InstanceEventHandler) OnEvent(evt discovery.KvEvent)
func (*InstanceEventHandler) Type ¶
func (h *InstanceEventHandler) Type() discovery.Type
type ServiceIndexEventHandler ¶
type ServiceIndexEventHandler struct { }
ServiceIndexEventHandler counting the number of services Deprecated: Use metrics instead.
func NewServiceIndexEventHandler ¶
func NewServiceIndexEventHandler() *ServiceIndexEventHandler
func (*ServiceIndexEventHandler) OnEvent ¶
func (h *ServiceIndexEventHandler) OnEvent(evt discovery.KvEvent)
func (*ServiceIndexEventHandler) Type ¶
func (h *ServiceIndexEventHandler) Type() discovery.Type
Click to show internal directories.
Click to hide internal directories.