polaris

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

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(url *common.URL) (*polarisListener, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL