package faketls

Import Path
	github.com/gotd/td/internal/mtproxy/faketls (on go.dev)

Dependency Relation
	imports 10 packages, and imported by one package

Involved Source Files client_hello.go Package faketls contains faketls implementation. faketls.go record.go server_hello.go tls.go
Package-Level Type Names (total 4, in which 3 are exported)
/* sort exporteds by: | */
FakeTLS implements FakeTLS obfuscation protocol. Handshake performs FakeTLS handshake. Read implements io.Reader. Write implements io.Writer. *FakeTLS : github.com/gotd/td/internal/mtproxy/obfuscator.Obfuscator *FakeTLS : internal/bisect.Writer *FakeTLS : io.Reader *FakeTLS : io.ReadWriter *FakeTLS : io.Writer func NewFakeTLS(r io.Reader, conn io.ReadWriter) *FakeTLS
HandshakeType represents TLS handshake record type byte. const HandshakeTypeClient const HandshakeTypeServer
RecordType represents TLS record type byte. const RecordTypeAlert const RecordTypeApplication const RecordTypeChangeCipherSpec const RecordTypeHandshake const RecordTypeHeartbeat
Package-Level Functions (total 6, in which 1 is exported)
NewFakeTLS creates new FakeTLS.
Package-Level Variables (total 4, all are exported)
Possible versions.
Possible versions.
Possible versions.
Possible versions.
Package-Level Constants (total 9, in which 7 are exported)
HandshakeTypeClient is client handshake message type.
HandshakeTypeServer is server handshake message type.
RecordTypeAlert is Alert record type byte.
RecordTypeApplication is Application record type byte.
RecordTypeChangeCipherSpec is ChangeCipherSpec record type byte.
RecordTypeHandshake is Handshake record type byte.
RecordTypeHeartbeat is Heartbeat record type byte.