37 lines
743 B
Go
37 lines
743 B
Go
|
package service
|
||
|
|
||
|
import (
|
||
|
discoveryM "git.loafle.net/overflow/overflow_commons_go/modules/discovery/model"
|
||
|
"git.loafle.net/overflow/overflow_discovery/discovery"
|
||
|
)
|
||
|
|
||
|
type DiscoveryService struct {
|
||
|
}
|
||
|
|
||
|
func (ds *DiscoveryService) DiscoverZone(dz *discoveryM.DiscoveryZone) error {
|
||
|
|
||
|
discovery.DiscoverZone(dz)
|
||
|
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (ds *DiscoveryService) DiscoverHost(zone *discoveryM.Zone, dz *discoveryM.DiscoveryHost) error {
|
||
|
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (ds *DiscoveryService) DiscoverPort(host *discoveryM.Host, dz *discoveryM.DiscoveryPort) error {
|
||
|
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (ds *DiscoveryService) DiscoverService(port *discoveryM.Port, dz *discoveryM.DiscoveryService) error {
|
||
|
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (ds *DiscoveryService) Stop() error {
|
||
|
|
||
|
return nil
|
||
|
}
|