37 lines
641 B
Go
37 lines
641 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(dz *model.DiscoveryHost) error {
|
|
|
|
return nil
|
|
}
|
|
|
|
func (ds *DiscoveryService) DiscoverPort(dz *model.DiscoveryPort) error {
|
|
|
|
return nil
|
|
}
|
|
|
|
func (ds *DiscoveryService) DiscoverService(dz *model.DiscoveryService) error {
|
|
|
|
return nil
|
|
}
|
|
|
|
func (ds *DiscoveryService) Stop() error {
|
|
|
|
return nil
|
|
}
|