zookeeper

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 15 Imported by: 142

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