type github.com/gotd/td/transport.Conn

32 uses

	github.com/gotd/td/transport (current package)
		connection.go#L15: type Conn interface {
		connection.go#L21: var _ Conn = (*connection)(nil)
		listener.go#L43: func (l Listener) Accept() (_ Conn, rErr error) {
		protocol.go#L63: func (p Protocol) Handshake(conn net.Conn) (Conn, error) {
		protocol.go#L76: func (p Protocol) Pipe() (a, b Conn) {

	github.com/gotd/td/internal/exchange
		flow.go#L22: 	conn transport.Conn
		flow.go#L56: func NewExchanger(conn transport.Conn, dc int) Exchanger {
		proto.go#L18: 	conn    transport.Conn

	github.com/gotd/td/internal/mtproto
		conn.go#L48: type Dialer func(ctx context.Context) (transport.Conn, error)
		conn.go#L55: 	conn          transport.Conn

	github.com/gotd/td/telegram
		conn_builder.go#L65: 	return func(ctx context.Context) (transport.Conn, error) {
		pool.go#L120: 	return c.dc(ctx, dc, max, func(ctx context.Context) (transport.Conn, error) {

	github.com/gotd/td/telegram/dcs
		mtproxy.go#L30: func (m mtProxy) Primary(ctx context.Context, dc int, _ List) (transport.Conn, error) {
		mtproxy.go#L34: func (m mtProxy) MediaOnly(ctx context.Context, dc int, _ List) (transport.Conn, error) {
		mtproxy.go#L41: func (m mtProxy) CDN(ctx context.Context, dc int, _ List) (transport.Conn, error) {
		mtproxy.go#L45: func (m mtProxy) resolve(ctx context.Context, dc int) (transport.Conn, error) {
		mtproxy.go#L61: func (m mtProxy) handshakeConn(c net.Conn, dc int) (transport.Conn, error) {
		plain.go#L31: func (p plain) Primary(ctx context.Context, dc int, list List) (transport.Conn, error) {
		plain.go#L46: func (p plain) MediaOnly(ctx context.Context, dc int, list List) (transport.Conn, error) {
		plain.go#L59: func (p plain) CDN(ctx context.Context, dc int, list List) (transport.Conn, error) {
		plain.go#L63: func (p plain) dialTransport(ctx context.Context, test bool, dc tg.DCOption) (_ transport.Conn, rerr error) {
		plain.go#L124: func (p plain) connect(ctx context.Context, dc int, test bool, dcOptions []tg.DCOption) (transport.Conn, error) {
		plain.go#L133: 		conn transport.Conn
		protocol.go#L10: 	Handshake(conn net.Conn) (transport.Conn, error)
		resolver.go#L14: 	Primary(ctx context.Context, dc int, list List) (transport.Conn, error)
		resolver.go#L15: 	MediaOnly(ctx context.Context, dc int, list List) (transport.Conn, error)
		resolver.go#L16: 	CDN(ctx context.Context, dc int, list List) (transport.Conn, error)
		resolver.go#L27: 	Handshake(conn net.Conn) (transport.Conn, error)
		websocket.go#L28: func (w ws) connect(ctx context.Context, dc int, domains map[int]string) (transport.Conn, error) {
		websocket.go#L58: func (w ws) Primary(ctx context.Context, dc int, list List) (transport.Conn, error) {
		websocket.go#L62: func (w ws) MediaOnly(ctx context.Context, dc int, list List) (transport.Conn, error) {
		websocket.go#L66: func (w ws) CDN(ctx context.Context, dc int, list List) (transport.Conn, error) {