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