cacheproxy

package
v0.0.0-...-7e31768 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSingleHostReverseProxy

func NewSingleHostReverseProxy(url *url.URL) *httputil.ReverseProxy

NewSingleHostReverseProxy wraps net/http/httputil.NewSingleHostReverseProxy and sets the Host header based on the target URL.

func SetLogger

func SetLogger(l *log.Logger)

SetLogger wraps httpcache.SetLogger

Types

This section is empty.

Jump to

Keyboard shortcuts

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