37 lines
836 B
Go
37 lines
836 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(requesterID string, dz *discoveryM.DiscoveryZone) error {
|
|
|
|
discovery.DiscoverZone(requesterID, dz)
|
|
|
|
return nil
|
|
}
|
|
|
|
func (ds *DiscoveryService) DiscoverHost(requesterID string, zone *discoveryM.Zone, dz *discoveryM.DiscoveryHost) error {
|
|
|
|
return nil
|
|
}
|
|
|
|
func (ds *DiscoveryService) DiscoverPort(requesterID string, host *discoveryM.Host, dz *discoveryM.DiscoveryPort) error {
|
|
|
|
return nil
|
|
}
|
|
|
|
func (ds *DiscoveryService) DiscoverService(requesterID string, port *discoveryM.Port, dz *discoveryM.DiscoveryService) error {
|
|
|
|
return nil
|
|
}
|
|
|
|
func (ds *DiscoveryService) Stop() error {
|
|
|
|
return nil
|
|
}
|