directory

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Directory

type Directory interface {
	common.Node

	// List candidate invoker list for the current Directory.
	// NOTICE: The invoker list returned to the caller may be backed by the same data hold by the current Directory
	// implementation for the sake of performance consideration. This requires the caller of List() shouldn't modify
	// the return result directly.
	List(invocation protocol.Invocation) []protocol.Invoker

	// Subscribe listen to registry instances
	Subscribe(url *common.URL) error
}

Directory implementations include RegistryDirectory, ServiceDiscoveryRegistryDirectory, StaticDirectory

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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