proxy.golang.org : github.com/jfrog/go-mockhttp : v0.1.0
Package for mocking HTTP servers and clients. See the examples to get a starting point. For more details, refer to the documentation of each function / type. A common use case for the mock http client is to mock transport errors. Start a mock http server as a test double for other external servers. The code under test keeps sending real requests, but instead of sending to the real target, it should send to the mock server. The mock server receives requests and responds as configured.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/jfrog/[email protected]
Published:
Indexed:
- github.com/stretchr/testify v1.4.0