mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:24:01 +03:00
Add proxy request wrapper
This commit is contained in:
@@ -2,6 +2,7 @@ package mtproto
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"net"
|
||||
|
||||
"github.com/juju/errors"
|
||||
)
|
||||
@@ -20,6 +21,7 @@ type ConnectionOpts struct {
|
||||
ConnectionProto ConnectionProtocol
|
||||
QuickAck bool
|
||||
SimpleAck bool
|
||||
ClientAddr *net.TCPAddr
|
||||
}
|
||||
|
||||
// Different connection types which user requests from Telegram.
|
||||
|
||||
Reference in New Issue
Block a user