Documentation ¶
Overview ¶
Package mtproxy contains MTProxy transport implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Secret ¶
type Secret struct { Secret []byte Tag byte CloakHost string Type SecretType }
Secret represents MTProxy secret.
func ParseSecret ¶
ParseSecret checks and parses secret.
type SecretType ¶
type SecretType int
SecretType represents MTProxy secret type.
const ( // Simple is a basic MTProxy secret. Simple SecretType = iota + 1 // Secured is dd-secret. Secured // TLS is fakeTLS MTProxy secret. // First byte should be ee. TLS )
Directories ¶
Path | Synopsis |
---|---|
Package faketls contains faketls implementation.
|
Package faketls contains faketls implementation. |
Package obfuscated2 contains obfuscated2 implementation.
|
Package obfuscated2 contains obfuscated2 implementation. |
Package obfuscator contains some MTProxy obfuscation utilities.
|
Package obfuscator contains some MTProxy obfuscation utilities. |
Click to show internal directories.
Click to hide internal directories.