ing
This commit is contained in:
parent
d178d0dc45
commit
c1096ee410
|
@ -3,9 +3,9 @@ package discovery
|
||||||
import "git.loafle.net/overflow/commons-go/model/discovery"
|
import "git.loafle.net/overflow/commons-go/model/discovery"
|
||||||
|
|
||||||
type DiscoveryService interface {
|
type DiscoveryService interface {
|
||||||
DiscoverZone(requesterID string, dz *discovery.DiscoveryZone) error
|
DiscoverZone(requesterID string, dz *discovery.DiscoverZone) error
|
||||||
DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoveryHost) error
|
DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoverHost) error
|
||||||
DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoveryPort) error
|
DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoverPort) error
|
||||||
DiscoverService(requesterID string, port *discovery.Port, ds *discovery.DiscoveryService) error
|
DiscoverService(requesterID string, port *discovery.Port, ds *discovery.DiscoverService) error
|
||||||
StopRequest(requesterID string) error
|
StopRequest(requesterID string) error
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,10 +7,10 @@ import (
|
||||||
|
|
||||||
type DiscoveryService interface {
|
type DiscoveryService interface {
|
||||||
// By Central
|
// By Central
|
||||||
DiscoverZone(requesterID string, dz *discovery.DiscoveryZone) error
|
DiscoverZone(requesterID string, dz *discovery.DiscoverZone) error
|
||||||
DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoveryHost) error
|
DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoverHost) error
|
||||||
DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoveryPort) error
|
DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoverPort) error
|
||||||
DiscoverService(requesterID string, port *discovery.Port, dService *discovery.DiscoveryService) error
|
DiscoverService(requesterID string, port *discovery.Port, dService *discovery.DiscoverService) error
|
||||||
// By Container
|
// By Container
|
||||||
DiscoveryStart(requesterID string, t *util.Timestamp) error
|
DiscoveryStart(requesterID string, t *util.Timestamp) error
|
||||||
DiscoveryStop(requesterID string, t *util.Timestamp) error
|
DiscoveryStop(requesterID string, t *util.Timestamp) error
|
||||||
|
|
Loading…
Reference in New Issue
Block a user