Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientProtocol ¶
type ClientProtocol interface { Handshake(conntypes.StreamReadWriteCloser) (conntypes.StreamReadWriteCloser, error) ConnectionType() conntypes.ConnectionType ConnectionProtocol() conntypes.ConnectionProtocol DC() conntypes.DC }
type ClientProtocolMaker ¶
type ClientProtocolMaker func() ClientProtocol
type TelegramRequest ¶
type TelegramRequest struct { Logger *zap.SugaredLogger ClientConn conntypes.StreamReadWriteCloser ConnID conntypes.ConnID Ctx context.Context Cancel context.CancelFunc ClientProtocol ClientProtocol }
Click to show internal directories.
Click to hide internal directories.