overflow_discovery/rpc/discovery_service.go
crusader e07d0717a2 ing
2017-11-15 21:09:38 +09:00

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
}