This commit is contained in:
crusader 2017-11-01 15:58:26 +09:00
parent 7e50d94cbe
commit 3b3f53cfa2

View File

@ -3,6 +3,7 @@ package server
import ( import (
"errors" "errors"
"io" "io"
"log"
"net" "net"
) )
@ -26,7 +27,7 @@ func (sh *ServerHandlers) OnAccept(conn net.Conn) (net.Conn, error) {
} }
func (sh *ServerHandlers) Handle(conn net.Conn, stopChan <-chan struct{}, doneChan chan<- struct{}) { func (sh *ServerHandlers) Handle(conn net.Conn, stopChan <-chan struct{}, doneChan chan<- struct{}) {
log.Printf("Server.Handle")
} }
func (sh *ServerHandlers) IsClientDisconnect(err error) bool { func (sh *ServerHandlers) IsClientDisconnect(err error) bool {