Documentation ¶
Overview ¶
Package gethandler implements the HTTP handler for fetching blobs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGetHandler ¶
func CreateGetHandler(fetcher blob.StreamingFetcher) http.Handler
CreateGetHandler returns an http Handler for serving blobs from fetcher.
func ServeBlobRef ¶
func ServeBlobRef(rw http.ResponseWriter, req *http.Request, blobRef blob.Ref, fetcher blob.StreamingFetcher)
ServeBlobRef serves a blob.
Types ¶
Click to show internal directories.
Click to hide internal directories.