mapping

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

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