httpcache

package
v0.14.5-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoCacheEntry = errors.New("no cache entry")

Functions

This section is empty.

Types

type RoundTripper

type RoundTripper struct {
	Transport       http.RoundTripper
	DefaultCacheTTL time.Duration
}

func (*RoundTripper) RoundTrip

func (rt *RoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL