ing
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"net"
|
||||
|
||||
"git.loafle.net/commons_go/logging"
|
||||
"git.loafle.net/overflow/overflow_discovery/discovery"
|
||||
|
||||
crs "git.loafle.net/commons_go/rpc/server"
|
||||
"git.loafle.net/commons_go/server"
|
||||
@@ -34,7 +35,7 @@ func (sh *ServerHandlers) Init() error {
|
||||
}
|
||||
|
||||
func (sh *ServerHandlers) OnStart() {
|
||||
// no op
|
||||
discovery.DiscoveryInit()
|
||||
}
|
||||
|
||||
func (sh *ServerHandlers) OnConnect(conn net.Conn) (net.Conn, error) {
|
||||
@@ -73,7 +74,7 @@ func (sh *ServerHandlers) Handle(conn net.Conn, stopChan <-chan struct{}, doneCh
|
||||
}
|
||||
|
||||
func (sh *ServerHandlers) OnStop() {
|
||||
// no op
|
||||
discovery.DiscoveryDestroy()
|
||||
}
|
||||
|
||||
func (sh *ServerHandlers) Validate() {
|
||||
|
||||
Reference in New Issue
Block a user