polaris

package
v3.1.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: Apache-2.0 Imports: 20 Imported by: 1

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

Jump to

Keyboard shortcuts

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