Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BufferPool bPool
BufferPool is a utility variable that provides bytes.Buffer objects. It embeds a sync.Pool object and provides a helper GetBuffer method that returns a cast *bytes.Buffer.
Functions ¶
Types ¶
type RecorderHijacker ¶
type RecorderHijacker interface { http.ResponseWriter http.Hijacker GetCode() int GetBody() *bytes.Buffer // contains filtered or unexported methods }
func NewRecorderHijacker ¶
func NewRecorderHijacker(w http.ResponseWriter) RecorderHijacker
Click to show internal directories.
Click to hide internal directories.