From 88d68b4ab3ede363cc07981502eb7a5affa1cade Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 31 Oct 2017 20:46:04 +0900 Subject: [PATCH] ing --- client_handlers.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client_handlers.go b/client_handlers.go index 5be8caf..b66a502 100644 --- a/client_handlers.go +++ b/client_handlers.go @@ -3,6 +3,7 @@ package server import ( "errors" "io" + "log" "time" ) @@ -55,11 +56,13 @@ func (ch *ClientHandlers) Dial() (conn io.ReadWriteCloser, err error) { } func (ch *ClientHandlers) OnHandshake(remoteAddr string, rwc io.ReadWriteCloser) error { + log.Printf("OnHandshake") return nil } func (ch *ClientHandlers) Handle(rwc io.ReadWriteCloser, stopChan chan struct{}) { // no op + log.Printf("Handle") } func (ch *ClientHandlers) GetAddr() string {