Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MessageConnectionEstablished = []byte("HTTP/1.1 200 Connection established" + CRLF) )
View Source
var CRLF = "\r\n"
CRLF used for delimiter purpose, may be incompatible in some old programs
View Source
var ErrDelimiterNotFound = errors.New("delimiter not found")
View Source
var ProtocolMap = map[string]uint16{
"http": 80,
"https": 443,
}
Functions ¶
Types ¶
type Forwarder ¶
type Request ¶
func ParseRequestFromRaw ¶
ParseRequestFromRaw parses request from raw tcp message
func (*Request) UnpackIPv6 ¶
func (r *Request) UnpackIPv6()
type Server ¶
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.