{"modulePath":"github.com/Test-Go/Testify","version":"v1.1.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package http\n\nPackage http DEPRECATED USE net/http/httptest\n\n## Types\n\n```go\ntype TestResponseWriter struct {\n\n\t// StatusCode is the last int written by the call to WriteHeader(int)\n\tStatusCode int\n\n\t// Output is a string containing the written bytes using the Write([]byte) func.\n\tOutput string\n\t// contains filtered or unexported fields\n}\n```\nTestResponseWriter DEPRECATED: We recommend you use [http://golang.org/pkg/net/http/httptest](http://golang.org/pkg/net/http/httptest) instead.\n\n```go\nfunc (rw *TestResponseWriter) Header() http.Header\n```\nHeader DEPRECATED: We recommend you use [http://golang.org/pkg/net/http/httptest](http://golang.org/pkg/net/http/httptest) instead.\n\n```go\nfunc (rw *TestResponseWriter) Write(bytes []byte) (int, error)\n```\nWrite DEPRECATED: We recommend you use [http://golang.org/pkg/net/http/httptest](http://golang.org/pkg/net/http/httptest) instead.\n\n```go\nfunc (rw *TestResponseWriter) WriteHeader(i int)\n```\nWriteHeader DEPRECATED: We recommend you use [http://golang.org/pkg/net/http/httptest](http://golang.org/pkg/net/http/httptest) instead.\n\n```go\ntype TestRoundTripper struct {\n\tmock.Mock\n}\n```\nTestRoundTripper DEPRECATED USE net/http/httptest\n\n```go\nfunc (t *TestRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)\n```\nRoundTrip DEPRECATED USE net/http/httptest\n\n","path":"github.com/Test-Go/Testify/http","name":"http","synopsis":"Package http DEPRECATED USE net/http/httptest","isRedistributable":true}
