http

package
v0.0.0-...-8740a4e Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2015 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachedResponse

type CachedResponse struct {
	Header     map[string][]string
	StatusCode int
	Body       string
	Expires    int
	Key        string
}

type HttpPipe

type HttpPipe struct {
	// contains filtered or unexported fields
}

func New

func New(cacheClient cache.CacheClient) *HttpPipe

func (*HttpPipe) Pipe

func (pipe *HttpPipe) Pipe(mapping *mappings.RequestMapping, w http.ResponseWriter)

Jump to

Keyboard shortcuts

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