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 (m *MockServiceNameMapping) Get(*common.URL, registry.MappingListener) (*gxset.HashSet, error)
type ServiceNameMapping ¶
type ServiceNameMapping interface { Map(url *common.URL) error Get(url *common.URL, listener registry.MappingListener) (*gxset.HashSet, error) Remove(url *common.URL) 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
Click to show internal directories.
Click to hide internal directories.