overflow_discovery/_discovery/port.go
crusader f1fac395d5 ing
2017-11-15 20:29:22 +09:00

32 lines
449 B
Go

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