Documentation ¶
Overview ¶
Package polaris implements registry around polaris.
Index ¶
Constants ¶
View Source
const (
RegistryConnDelay = 3
)
Variables ¶
This section is empty.
Functions ¶
func NewPolarisListener ¶
func NewPolarisListener(watcher *PolarisServiceWatcher) (*polarisListener, error)
NewPolarisListener new polaris listener
Types ¶
type PolarisInstanceInfo ¶ added in v3.0.4
type PolarisInstanceInfo 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.