diff --git a/client/client_handlers.go b/client/client_handlers.go index 5956b27..9886d64 100644 --- a/client/client_handlers.go +++ b/client/client_handlers.go @@ -2,6 +2,7 @@ package client import ( "io" + "log" "git.loafle.net/commons_go/rpc" "git.loafle.net/commons_go/server/ipc" @@ -24,6 +25,7 @@ type ClientHandlers struct { func (ch *ClientHandlers) OnStart() { // no op + log.Printf("discovery.ClientHandlers.OnStart") } func (ch *ClientHandlers) OnStop() { @@ -35,6 +37,8 @@ func (ch *ClientHandlers) OnHandshake(remoteAddr string, rwc io.ReadWriteCloser) } func (ch *ClientHandlers) Handle(rwc io.ReadWriteCloser, stopChan chan struct{}) { + log.Printf("discovery.ClientHandlers.Handle") + ch.RPCClient.Start(rwc) select {