Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecRequest ¶
func ExecRequest(app http.Handler, method, path string, headers ...header) *httptest.ResponseRecorder
Types ¶
type CustomerResWriter ¶
type CustomerResWriter struct{}
func (*CustomerResWriter) Header ¶
func (m *CustomerResWriter) Header() (h http.Header)
func (*CustomerResWriter) WriteHeader ¶
func (m *CustomerResWriter) WriteHeader(int)
func (*CustomerResWriter) WriteString ¶
func (m *CustomerResWriter) WriteString(s string) (n int, err error)
Click to show internal directories.
Click to hide internal directories.