ing
This commit is contained in:
parent
7e50d94cbe
commit
3b3f53cfa2
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user