Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpRequest ¶
from httputil, here to use custom drainBody func
func DumpRequestOut ¶
DumpRequestOut is like DumpRequest but includes headers that the standard http.Transport adds, such as User-Agent.
Types ¶
type HttpRequest ¶
type HttpResponse ¶
type HttpTxn ¶
type HttpTxn struct { Req *HttpRequest Resp *HttpResponse Start time.Time Duration time.Duration UserCtx interface{} ConnUserCtx interface{} }
Click to show internal directories.
Click to hide internal directories.