Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Buffer ¶
type Buffer struct { http.ResponseWriter // contains filtered or unexported fields }
func Acquire ¶
func Acquire(w http.ResponseWriter) *Buffer
func (*Buffer) RequestBody ¶
func (*Buffer) Reset ¶
func (m *Buffer) Reset(w http.ResponseWriter)
func (*Buffer) ResponseBody ¶
func (*Buffer) StatusCode ¶
func (*Buffer) WriteHeader ¶
type RequestBody ¶
type RequestBody struct {
// contains filtered or unexported fields
}
func NewRequestBody ¶
func NewRequestBody(body []byte) RequestBody
func (RequestBody) Close ¶
func (r RequestBody) Close() error
Click to show internal directories.
Click to hide internal directories.