Documentation ¶
Index ¶
Constants ¶
View Source
const ( TLS = "tls" SOCKS4 = "socks4" SOCKS5 = "socks5" HTTP = "http" HTTP2 = "http2" SSH = "ssh" )
Variables ¶
View Source
var Pattern = map[string][]string{ TLS: { "\x16\x03\x00", "\x16\x03\x01", "\x16\x03\x02", "\x16\x03\x03", "\x16\x03\x04", }, SOCKS4: { "\x04\x01", "\x04\x02", }, SOCKS5: { "\x05\x01", "\x05\x02", "\x05\x03", }, HTTP: { "GET ", "HEAD ", "POST ", "PUT ", "PATCH ", "DELETE ", "CONNECT ", "OPTIONS ", "TRACE ", }, HTTP2: { "PRI * HTTP/2.0", }, SSH: { "SSH-", }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.