linting the code

This commit is contained in:
9seconds
2019-10-11 09:41:18 +03:00
parent 432e2970a0
commit 5009859a1e
50 changed files with 172 additions and 55 deletions
+2
View File
@@ -47,6 +47,7 @@ func (c *connection) write(packet conntypes.Packet) error {
c.pending = 0
c.mutex.Unlock()
}
return err
}
@@ -89,6 +90,7 @@ func (c *connection) run() {
logger.Debugw("Failed response", "error", err)
continue
}
if response.Type == rpc.ProxyResponseTypeCloseExt {
logger.Debugw("Proxy has closed connection")
return