Documentation ¶ Index ¶ type Request func NewRequest(raw *http.Request) *Request func (this *Request) ReadBody(max int64) (data []byte, err error) func (this *Request) RestoreBody(data []byte) type Response func NewResponse(resp *http.Response) *Response Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Request ¶ type Request struct { *http.Request BodyData []byte } func NewRequest ¶ func NewRequest(raw *http.Request) *Request func (*Request) ReadBody ¶ func (this *Request) ReadBody(max int64) (data []byte, err error) func (*Request) RestoreBody ¶ func (this *Request) RestoreBody(data []byte) type Response ¶ type Response struct { *http.Response BodyData []byte } func NewResponse ¶ func NewResponse(resp *http.Response) *Response Source Files ¶ View all Source files request.go response.go Click to show internal directories. Click to hide internal directories.