2017-10-27 06:01:09 +00:00
|
|
|
package rpc
|
|
|
|
|
2017-11-15 11:29:22 +00:00
|
|
|
import (
|
|
|
|
"git.loafle.net/overflow/overflow_discovery/api/module/discovery/model"
|
|
|
|
)
|
|
|
|
|
2017-10-27 06:01:09 +00:00
|
|
|
type DiscoveryService struct {
|
|
|
|
}
|
|
|
|
|
2017-11-15 11:29:22 +00:00
|
|
|
func (ds *DiscoveryService) DiscoverZone(dz *model.DiscoveryZone) error {
|
|
|
|
|
|
|
|
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 {
|
2017-10-27 06:01:09 +00:00
|
|
|
|
2017-11-15 10:38:42 +00:00
|
|
|
return nil
|
2017-11-02 06:43:42 +00:00
|
|
|
}
|
|
|
|
|
2017-11-15 10:38:42 +00:00
|
|
|
func (ds *DiscoveryService) Stop() error {
|
2017-11-02 06:43:42 +00:00
|
|
|
|
2017-11-15 10:38:42 +00:00
|
|
|
return nil
|
2017-10-27 06:01:09 +00:00
|
|
|
}
|