Versions in this module Expand all Collapse all v1 v1.138.1 Sep 11, 2026 Changes in this version + type Handler struct + func New(source Source, opts ...Option) (*Handler, error) + func (h *Handler) Serve(w http.ResponseWriter, r *http.Request) error + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Option func(*Handler) + func WithClient(client *http.Client) Option + func WithMaxBytes(n int64) Option + func WithTimeout(timeout time.Duration) Option + type Source func(*http.Request) (*url.URL, error)