Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram.
If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
| 1234567891011121314151617181920212223242526 |
- package essentials
-
- import (
- "io"
- "net"
- )
-
- // CloseableReader is a reader interface that can close its reading end.
- type CloseableReader interface {
- io.Reader
- CloseRead() error
- }
-
- // CloseableWriter is a writer that can close its writing end.
- type CloseableWriter interface {
- io.Writer
- CloseWrite() error
- }
-
- // Conn is an extension of net.Conn that can close its ends. This mostly
- // implies TCP connections.
- type Conn interface {
- net.Conn
- CloseableReader
- CloseableWriter
- }
|