Sfoglia il codice sorgente

client: remove unused field

Brian Waldon 11 anni fa
parent
commit
913d102a81
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      client/http.go

+ 0 - 1
client/http.go

@@ -38,7 +38,6 @@ type roundTripResponse struct {
 type httpClient struct {
 type httpClient struct {
 	transport CancelableTransport
 	transport CancelableTransport
 	endpoint  url.URL
 	endpoint  url.URL
-	timeout   time.Duration
 }
 }
 
 
 func (c *httpClient) Do(ctx context.Context, act HTTPAction) (*http.Response, []byte, error) {
 func (c *httpClient) Do(ctx context.Context, act HTTPAction) (*http.Response, []byte, error) {