Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶ added in v0.1.3
type Transport struct {
Next http.RoundTripper
Options *TransportOptions
// contains filtered or unexported fields
}
Transport implements http.RoundTripper
It serves as a wrapper for requests, which implements caching of responses and rate limiting total amount of requests/s
func NewTransport ¶ added in v0.1.3
func NewTransport(next http.RoundTripper, options *TransportOptions) *Transport
NewRatelimitTransport initializes a new *ratelimitTransport instance
Click to show internal directories.
Click to hide internal directories.