httpcache

package
v0.14.4-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 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