diff --git a/utils/connection.go b/utils/connection.go index af9cf54f..93d0a1dc 100644 --- a/utils/connection.go +++ b/utils/connection.go @@ -10,7 +10,7 @@ import ( type TCPListener struct { conn net.Conn - plannedDisconnect func(*TCPListener) + plannedDisconnect func(*TCPListener) unexpectedDisconnect func(*TCPListener, error) }