32 lines
449 B
Go
32 lines
449 B
Go
|
package discovery
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"git.loafle.net/overflow/overflow_discovery/commons"
|
||
|
)
|
||
|
|
||
|
type zoneDiscoverer interface {
|
||
|
commons.EndableStarter
|
||
|
commons.Shutdowner
|
||
|
}
|
||
|
|
||
|
type zoneDiscovery struct {
|
||
|
}
|
||
|
|
||
|
func newZoneDiscoverer() zoneDiscoverer {
|
||
|
zd := &zoneDiscovery{}
|
||
|
|
||
|
return zd
|
||
|
}
|
||
|
|
||
|
func (zd *zoneDiscovery) EndableStart(endded chan<- error) error {
|
||
|
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (zd *zoneDiscovery) Shutdown(ctx context.Context) error {
|
||
|
|
||
|
return nil
|
||
|
}
|