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
}
func NewCacheListener ¶
func NewCacheListener(rootPath string) *CacheListener
func (*CacheListener) AddListener ¶
func (l *CacheListener) AddListener(key string, listener config_center.ConfigurationListener)
func (*CacheListener) DataChange ¶
func (l *CacheListener) DataChange(event remoting.Event) bool
func (*CacheListener) RemoveListener ¶
func (l *CacheListener) RemoveListener(key string, listener config_center.ConfigurationListener)
Click to show internal directories.
Click to hide internal directories.