stream

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientConn

func NewClientConn(parent net.Conn, connID conntypes.ConnID) conntypes.StreamReadWriteCloser

func NewObfuscated2

func NewObfuscated2(socket conntypes.StreamReadWriteCloser,
	encryptor, decryptor cipher.Stream) conntypes.StreamReadWriteCloser

func NewTelegramConn

func NewTelegramConn(dc conntypes.DC, parent net.Conn) conntypes.StreamReadWriteCloser

Types

type ReadWriteCloseRewinder

type ReadWriteCloseRewinder interface {
	conntypes.StreamReadWriteCloser
	Rewind()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL