mapping

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MappingListener added in v3.3.0

type MappingListener interface {
	OnEvent(e observer.Event) error
	Stop()
}

type ServiceNameMapping

type ServiceNameMapping interface {
	// Map the service to this application-level service, store the mapping
	Map(url *common.URL) error
	// Get the application-level services which are mapped to this service
	Get(url *common.URL, listener MappingListener) (*gxset.HashSet, error)
	// Remove the mapping between application-level service and interface-level service
	Remove(url *common.URL) error
}

ServiceNameMapping is the interface which trys to build the mapping between application-level service and interface-level service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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