gethandler

package
v0.0.0-...-825e40b Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2013 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGetHandler

func CreateGetHandler(fetcher blobref.StreamingFetcher) func(http.ResponseWriter, *http.Request)

Types

type Handler

type Handler struct {
	Fetcher           blobref.StreamingFetcher
	AllowGlobalAccess bool
}

Handler is the HTTP handler for serving GET requests of blobs.

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(conn http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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