Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResponseCapture ¶
type ResponseCapture struct { http.ResponseWriter // contains filtered or unexported fields }
ResponseCapture capture response and get response info
func NewResponseCapture ¶
func NewResponseCapture(w http.ResponseWriter) *ResponseCapture
func (ResponseCapture) Bytes ¶
func (c ResponseCapture) Bytes() []byte
func (ResponseCapture) StatusCode ¶
func (c ResponseCapture) StatusCode() int
Click to show internal directories.
Click to hide internal directories.