transport

package
v1.10.5-rancher-v2-1-1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package transport provides a round tripper capable of caching HTTP responses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCacheRoundTripper

func NewCacheRoundTripper(cacheDir string, rt http.RoundTripper) http.RoundTripper

NewCacheRoundTripper creates a roundtripper that reads the ETag on response headers and send the If-None-Match header on subsequent corresponding requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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