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