Documentation ¶
Overview ¶
Package polaris implements registry around polaris.
Index ¶
Constants ¶
View Source
const (
RegistryConnDelay = 3
)
Variables ¶
This section is empty.
Functions ¶
func NewPolarisListener ¶
NewPolarisListener new polaris listener
Types ¶
type PolarisHeartbeat ¶
type PolarisHeartbeat struct {
// contains filtered or unexported fields
}
type PolarisServiceWatcher ¶
type PolarisServiceWatcher struct {
// contains filtered or unexported fields
}
func (*PolarisServiceWatcher) AddSubscriber ¶
func (watcher *PolarisServiceWatcher) AddSubscriber(subscriber func(remoting.EventType, []model.Instance))
AddSubscriber add subscriber into watcher's subscribers
Click to show internal directories.
Click to hide internal directories.