watcher

package
v0.0.0-...-8729a88 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceWatcher

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

NamespaceWatcher contains the runtime configuration for a Nacos Namespace Watcher

func NewNamespaceWatcher

func NewNamespaceWatcher(nacosAddr, namespace string, notifyChan chan<- []common.DubboServiceInstance) (
	*NamespaceWatcher, error)

NewNamespaceWatcher creates a Namespace Watcher

func (*NamespaceWatcher) Run

func (w *NamespaceWatcher) Run(stop <-chan struct{})

Run until a signal is received, this function blocks

Jump to

Keyboard shortcuts

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