This commit is contained in:
crusader 2017-11-28 19:54:20 +09:00
parent dd65016b7d
commit f153c79d2c

View File

@ -43,9 +43,8 @@ func (sh *SocketHandlers) SocketContext(serverCTX ServerContext) SocketContext {
return newSocketContext(serverCTX) return newSocketContext(serverCTX)
} }
func (sh *SocketHandlers) OnConnect(soc Socket) Socket { func (sh *SocketHandlers) OnConnect(soc Socket) {
// no op
return soc
} }
func (sh *SocketHandlers) Handle(soc Socket, stopChan <-chan struct{}, doneChan chan<- error) { func (sh *SocketHandlers) Handle(soc Socket, stopChan <-chan struct{}, doneChan chan<- error) {