Documentation ¶
Index ¶
- func CopyHttpHeader(from http.Header) http.Header
- func DefaultPooledClient() *http.Client
- func DumpBodyAsBytes(req *http.Request) (copy []byte, err error)
- func DumpBodyAsReader(req *http.Request) (reader io.ReadCloser, err error)
- func PerformTestRequest(method, target string, router *gin.Engine) *httptest.ResponseRecorder
- func UrlEscape(prefix string, u string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPooledClient ¶
func DumpBodyAsReader ¶
func DumpBodyAsReader(req *http.Request) (reader io.ReadCloser, err error)
func PerformTestRequest ¶
func PerformTestRequest(method, target string, router *gin.Engine) *httptest.ResponseRecorder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.