Documentation
¶
Index ¶
Constants ¶
View Source
const MAX_RECV_SIZE = 10 * 1024
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Http ¶
type Http struct {
Request *HttpMessage
Response *HttpMessage
}
func (*Http) GetSearchKey ¶
type HttpMessage ¶
type HttpMessage struct {
Ts time.Time
Version version
HasContentLength bool
Connection string
//Request Info
RequestURI string
Method string
StatusCode int
StatusPhrase string
// Http Headers
ContentLength int
ContentType string
Host string
Referer string
UserAgent string
Location string
Headers map[string]string
RawHeaders []byte
Body []byte
TotalReceivedSize int
TotslExtraMsgSize int
// contains filtered or unexported fields
}
Http Message
Click to show internal directories.
Click to hide internal directories.