zookeeper

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ZkClient
	// zookeeper client name
	ZkClient = "zk config_center"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheListener

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

CacheListener ...

func NewCacheListener

func NewCacheListener(rootPath string) *CacheListener

NewCacheListener ...

func (*CacheListener) AddListener

func (l *CacheListener) AddListener(key string, listener config_center.ConfigurationListener)

AddListener ...

func (*CacheListener) DataChange

func (l *CacheListener) DataChange(event remoting.Event) bool

DataChange ...

func (*CacheListener) RemoveListener

func (l *CacheListener) RemoveListener(key string, listener config_center.ConfigurationListener)

RemoveListener ...

Jump to

Keyboard shortcuts

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