RequestFactory is used to create all http.Request objects. aetest.Instance from the Google App Engine implements this interface.
| 284 | // RequestFactory is used to create all http.Request objects. |
| 285 | // aetest.Instance from the Google App Engine implements this interface. |
| 286 | type RequestFactory interface { |
| 287 | NewRequest(method, url string, body io.Reader) (*http.Request, error) |
| 288 | } |
| 289 | |
| 290 | // RequestFactoryFunc is an adapter that allows a function |
| 291 | // to be used as the RequestFactory |
no outgoing calls
no test coverage detected
searching dependent graphs…