zookeeper

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: Apache-2.0 Imports: 15 Imported by: 11 modules, 137 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// RegistryZkClient zk client name
	RegistryZkClient = "zk registry"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

Option ...

type Options

type Options struct {
	// contains filtered or unexported fields
}

Options ...

type RegistryConfigurationListener

type RegistryConfigurationListener struct {
	// contains filtered or unexported fields
}

RegistryConfigurationListener ...

func NewRegistryConfigurationListener

func NewRegistryConfigurationListener(client *zk.ZookeeperClient, reg *zkRegistry) *RegistryConfigurationListener

NewRegistryConfigurationListener for listening the event of zk.

func (*RegistryConfigurationListener) Close

func (l *RegistryConfigurationListener) Close()

Close ...

func (*RegistryConfigurationListener) Next

Next ...

func (*RegistryConfigurationListener) Process

Process ...

type RegistryDataListener

type RegistryDataListener struct {
	// contains filtered or unexported fields
}

RegistryDataListener ...

func NewRegistryDataListener

func NewRegistryDataListener(listener config_center.ConfigurationListener) *RegistryDataListener

NewRegistryDataListener ...

func (*RegistryDataListener) AddInterestedURL

func (l *RegistryDataListener) AddInterestedURL(url *common.URL)

AddInterestedURL ...

func (*RegistryDataListener) DataChange

func (l *RegistryDataListener) DataChange(eventType remoting.Event) bool

DataChange ...

Jump to

Keyboard shortcuts

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