Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPReqInfo ¶
type HTTPReqInfo struct {
Method string `json:"method"`
Url string `json:"url"`
Referer string `json:"ref"`
Ipaddr string `json:"ip"`
Code int `json:"code"` //Response Code 200, 400 ecc.
Size int64 `json:"size"` //Numero byte della risposta
Duration time.Duration `json:"duration"`
Data int64 `json:"data"`
UserAgent string `json:"agent"`
// contains filtered or unexported fields
}
func (*HTTPReqInfo) LogHTTPReq ¶
func (ri *HTTPReqInfo) LogHTTPReq(filePath string)
Click to show internal directories.
Click to hide internal directories.