An open API service indexing awesome lists of open source software.

https://github.com/yookoala/mockhttp

A minimalistic Go library to mock http transport. Neat tool for testings with mock network.
https://github.com/yookoala/mockhttp

golang http mock-network testing

Last synced: 6 months ago
JSON representation

A minimalistic Go library to mock http transport. Neat tool for testings with mock network.

Awesome Lists containing this project

README

          

# mockhttp [![Documentations][shield-godoc]][godoc] [![Travis CI results][shield-travis]][travis] [![GoCover.io][shield-gocover]][gocover]

[travis]: https://travis-ci.org/yookoala/mockhttp
[shield-travis]: https://api.travis-ci.org/yookoala/mockhttp.svg?branch=master
[godoc]: https://godoc.org/github.com/yookoala/mockhttp
[shield-godoc]: https://img.shields.io/badge/godoc-reference-5272B4.svg
[gocover]: https://gocover.io/github.com/yookoala/mockhttp
[shield-gocover]: https://gocover.io/_badge/github.com/yookoala/mockhttp

A bare minimal implementation for mocking http.RoundTripper
(i.e. any http traffic response).

## License

This library is license under the MIT License agreement.
You can find a copy of the license within the repository
[here](LICENSE.md).