Louis DeLosSantos
12af604cf2
wait for done before writing to shared resp body ( #532 )
...
Signed-off-by: Louis Delossantos <ldelossa.ld@gmail.com>
2019-01-28 11:53:16 +03:00
alileza
bc3c7b9dd1
Update DefaultRoundTripper to DialContext because Dial is deprecated
...
Signed-off-by: alileza <alirezayahya@gmail.com>
2018-06-27 12:02:52 +02:00
André Carvalho
8077e4bd69
api: fix typo in comments
2017-04-25 18:17:16 -03:00
André Carvalho
5d19d9de34
api: renames create client func
2017-04-25 11:37:13 -03:00
André Carvalho
6fdb468212
api: add build tag for go 1.7
2017-04-24 18:05:17 -03:00
André Carvalho
09dcce7042
api: uses context from net/http
...
This commit removes the now unnecessary CancelableTransport and rely on
the net/http context support.
2017-04-20 10:31:18 -03:00
André Carvalho
11fae2ef0c
api: uses stdlib context
2017-04-20 09:57:46 -03:00
André Carvalho
349922b38c
api: creates versioned package for prometheus v1 api
...
This commit creates a new package to hold the prometheus
v1 API interface. This interface will contain all the funcionality
exposed by Prometheus v1 HTTP API.
The underlying http client is kept on the api package since it
may be reused across diferent API versions and also by the Alertmanager
api package (to come.)
2017-04-19 18:24:14 -03:00