mapping

package
v3.0.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServiceNameMapping

type MockServiceNameMapping struct{}

func NewMockServiceNameMapping

func NewMockServiceNameMapping() *MockServiceNameMapping

func (*MockServiceNameMapping) Get

func (*MockServiceNameMapping) Map

type ServiceNameMapping

type ServiceNameMapping interface {
	Map(url *common.URL) error
	Get(url *common.URL) (*gxset.HashSet, error)
}

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

Map method will map the service to this application-level service

Get method will return the application-level services

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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