Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Aug 21, 2022
1 parent fab0090 commit e6dcffb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/httpclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ type IHttpClient interface {
Get(url string) (*http.Response, error)
}

// Client ...
// Client special http client that can throttle requests per seconds (RPS).
// Also collect stats about current RPS and overall bytes downloaded/uploaded.
type Client struct {
sync.Mutex
*http.Client
Expand Down

0 comments on commit e6dcffb

Please sign in to comment.