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 blobref.StreamingFetcher) http.Handler
CreateGetHandler returns an http Handler for serving blobs from fetcher.
func ServeBlobRef ¶
func ServeBlobRef(rw http.ResponseWriter, req *http.Request, blobRef *blobref.BlobRef, fetcher blobref.StreamingFetcher)
ServeBlobRef serves a blob.
Types ¶
Click to show internal directories.
Click to hide internal directories.