Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RegistryDirectory ¶ added in v1.5.0
type RegistryDirectory struct {
directory.BaseDirectory
// contains filtered or unexported fields
}
RegistryDirectory implementation of Directory: Invoker list returned from this Directory's list method have been filtered by Routers
func (*RegistryDirectory) Destroy ¶ added in v1.5.0
func (dir *RegistryDirectory) Destroy()
Destroy method
func (*RegistryDirectory) IsAvailable ¶ added in v1.5.0
func (dir *RegistryDirectory) IsAvailable() bool
IsAvailable whether the directory is available
func (*RegistryDirectory) List ¶ added in v1.5.0
func (dir *RegistryDirectory) List(invocation protocol.Invocation) []protocol.Invoker
List selected protocol invokers from the directory
func (*RegistryDirectory) Notify ¶ added in v1.5.0
func (dir *RegistryDirectory) Notify(event *registry.ServiceEvent)
Notify monitor changes from registry,and update the cacheServices
Click to show internal directories.
Click to hide internal directories.