forked from Silverfish/proton-bridge
Apply suggestion to pkg/pmapi/client.go
This commit is contained in:
@ -82,8 +82,8 @@ type ClientConfig struct {
|
|||||||
// The client ID.
|
// The client ID.
|
||||||
ClientID string
|
ClientID string
|
||||||
|
|
||||||
// Timeout specifies the timeout from request to getting response headers to our API.
|
// Timeout is the timeout of the full request. It is passed to http.Client.
|
||||||
// Passed to http.Client, empty means no timeout.
|
// If it is left unset, it means no timeout is applied.
|
||||||
Timeout time.Duration
|
Timeout time.Duration
|
||||||
|
|
||||||
// FirstReadTimeout specifies the timeout from getting response to the first read of body response.
|
// FirstReadTimeout specifies the timeout from getting response to the first read of body response.
|
||||||
|
|||||||
Reference in New Issue
Block a user