Bugfix rpc handshake

This commit is contained in:
9seconds
2018-07-04 11:28:08 +03:00
parent ffa7ef7a0a
commit 90c10519ee
17 changed files with 129 additions and 62 deletions
+2 -2
View File
@@ -2,7 +2,6 @@ package mtproto
import (
"bytes"
"net"
"github.com/juju/errors"
)
@@ -19,7 +18,8 @@ type ConnectionOpts struct {
DC int16
ConnectionType ConnectionType
ConnectionProto ConnectionProtocol
ClientAddr *net.TCPAddr
QuickAck bool
SimpleAck bool
}
// Different connection types which user requests from Telegram.