aposteriori

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(next goproxy.Plugin, cache FileCache) goproxy.Plugin

New aposteriori plugin constructor

func NewCachePriority added in v1.3.0

func NewCachePriority(next goproxy.Plugin, cache FileCache, availablity map[string]map[string]struct{}) goproxy.Plugin

NewCachePriority aposteriori plugin constructor with cache-priority behavior

Types

type FileCache

type FileCache interface {
	Get(name string) (io.ReadCloser, error)
	Set(name string, data io.Reader) error
}

FileCache caching primitive

Jump to

Keyboard shortcuts

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