overflow_discovery/discovery/service.go
crusader de44a6bd7e ing
2017-10-20 14:28:07 +09:00

32 lines
467 B
Go

package discovery
import (
"context"
"git.loafle.net/overflow/overflow_discovery/commons"
)
type serviceDiscoverer interface {
commons.EndableStarter
commons.Shutdowner
}
type serviceDiscovery struct {
}
func newServiceDiscoverer() portDiscoverer {
pd := &serviceDiscovery{}
return pd
}
func (sd *serviceDiscovery) EndableStart(endded chan<- error) error {
return nil
}
func (sd *serviceDiscovery) Shutdown(ctx context.Context) error {
return nil
}