overflow_discovery/rpc/discovery_service.go
crusader 6ac80b1a88 ing
2017-11-18 00:12:38 +09:00

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
}