diff --git a/service/container/discovery/DiscoveryService.go b/service/container/discovery/DiscoveryService.go index 854755d..c998b6c 100644 --- a/service/container/discovery/DiscoveryService.go +++ b/service/container/discovery/DiscoveryService.go @@ -3,9 +3,9 @@ package discovery import "git.loafle.net/overflow/commons-go/model/discovery" type DiscoveryService interface { - DiscoverZone(requesterID string, dz *discovery.DiscoveryZone) error - DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoveryHost) error - DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoveryPort) error - DiscoverService(requesterID string, port *discovery.Port, ds *discovery.DiscoveryService) error + DiscoverZone(requesterID string, dz *discovery.DiscoverZone) error + DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoverHost) error + DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoverPort) error + DiscoverService(requesterID string, port *discovery.Port, ds *discovery.DiscoverService) error StopRequest(requesterID string) error } diff --git a/service/probe/DiscoveryService.go b/service/probe/DiscoveryService.go index e08dc67..3ea24cb 100644 --- a/service/probe/DiscoveryService.go +++ b/service/probe/DiscoveryService.go @@ -7,10 +7,10 @@ import ( type DiscoveryService interface { // By Central - DiscoverZone(requesterID string, dz *discovery.DiscoveryZone) error - DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoveryHost) error - DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoveryPort) error - DiscoverService(requesterID string, port *discovery.Port, dService *discovery.DiscoveryService) error + DiscoverZone(requesterID string, dz *discovery.DiscoverZone) error + DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoverHost) error + DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoverPort) error + DiscoverService(requesterID string, port *discovery.Port, dService *discovery.DiscoverService) error // By Container DiscoveryStart(requesterID string, t *util.Timestamp) error DiscoveryStop(requesterID string, t *util.Timestamp) error