From 900bf42638aad3d7b31c5539f5bd0302553f1d0b Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 31 Oct 2017 20:50:02 +0900 Subject: [PATCH] ing --- client/client_handlers.go | 4 ++++ 1 file changed, 4 insertions(+) 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 {