overflow_discovery/service/DiscoveryService.go

37 lines
836 B
Go
Raw Normal View History

2017-12-04 09:37:39 +00:00
package service
import (
discoveryM "git.loafle.net/overflow/overflow_commons_go/modules/discovery/model"
"git.loafle.net/overflow/overflow_discovery/discovery"
)
type DiscoveryService struct {
}
2018-03-16 06:43:19 +00:00
func (ds *DiscoveryService) DiscoverZone(requesterID string, dz *discoveryM.DiscoveryZone) error {
2017-12-04 09:37:39 +00:00
2018-03-16 06:43:19 +00:00
discovery.DiscoverZone(requesterID, dz)
2017-12-04 09:37:39 +00:00
return nil
}
2018-03-16 06:43:19 +00:00
func (ds *DiscoveryService) DiscoverHost(requesterID string, zone *discoveryM.Zone, dz *discoveryM.DiscoveryHost) error {
2017-12-04 09:37:39 +00:00
return nil
}
2018-03-16 06:43:19 +00:00
func (ds *DiscoveryService) DiscoverPort(requesterID string, host *discoveryM.Host, dz *discoveryM.DiscoveryPort) error {
2017-12-04 09:37:39 +00:00
return nil
}
2018-03-16 06:43:19 +00:00
func (ds *DiscoveryService) DiscoverService(requesterID string, port *discoveryM.Port, dz *discoveryM.DiscoveryService) error {
2017-12-04 09:37:39 +00:00
return nil
}
func (ds *DiscoveryService) Stop() error {
return nil
}