Versions in this module Expand all Collapse all v0 v0.1.0 Jun 6, 2026 Changes in this version + func KeyByHost(req *http.Request) string + func KeyByHostPort(req *http.Request) string + func NewClient(rps float64, burst int, opts ...Option) *http.Client + type KeyFunc func(req *http.Request) string + type Option func(*Transport) + func WithIdleTimeout(d time.Duration) Option + func WithKeyFunc(fn KeyFunc) Option + type Transport struct + func New(base http.RoundTripper, limit rate.Limit, burst int, opts ...Option) *Transport + func (t *Transport) Len() int + func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)