GitXplorerGitXplorer
s

httpclient

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
5dd5b171497e117fbccbb444b313993ee7a4deca

Merge pull request #2 from sebnow/release-1.0.0

ssebnow committed 8 years ago
Unverified
31e61b07da8093135f015e35bceba92dcbb52753

Release v1.0.0

ssebnow committed 8 years ago
Unverified
e3278eb17eee56c6719d175957775842c22605dd

Merge pull request #1 from sebnow/context

ssebnow committed 8 years ago
Unverified
2001afc541736d4d8314daf56c28663b91bb6218

Test error cases when creating a new request

ssebnow committed 8 years ago
Unverified
83e4423f16cd1aa07992862435a61a9d0867fcad

Test for error cases in ClientContext methods

ssebnow committed 8 years ago
Unverified
399b5e1ec56c9c365b67f52dace6441d36b0430f

Fix tests for PostFormContext on Go 1.7

ssebnow committed 8 years ago

README

The README file for this repository.

Build Status Coverage Status Go Report Card

Description

The httpclient package provides an interface for Go's standard http.Client concrete type. This makes it easier to mock HTTP clients, or wrap them with additional functionality.

Usage

client := httpclient.NewContext(http.DefaultClient)
response, err := client.GetContext(ctx.TODO(), "https://golang.org")