handlers

package
v0.0.0-...-ed6f70f Latest Latest
Warning

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

Go to latest
Published: May 19, 2014 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package handlers implements the HTTP interface to the Camlistore blob server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBatchUploadHandler

func CreateBatchUploadHandler(storage blobserver.BlobReceiveConfiger) http.Handler

CreateBatchUploadHandler returns the handler that receives multi-part form uploads to upload many blobs at once. See doc/protocol/blob-upload-protocol.txt.

func CreateEnumerateHandler

func CreateEnumerateHandler(storage blobserver.BlobEnumerator) http.Handler

func CreateGetHandler

func CreateGetHandler(fetcher blob.Fetcher) http.Handler

CreateGetHandler returns an http Handler for serving blobs from fetcher.

func CreatePutUploadHandler

func CreatePutUploadHandler(storage blobserver.BlobReceiver) http.Handler

CreatePutUploadHandler returns the handler that receives a single blob at the blob's final URL, via the PUT method. See doc/protocol/blob-upload-protocol.txt.

func CreateRemoveHandler

func CreateRemoveHandler(storage blobserver.Storage) http.Handler

func CreateStatHandler

func CreateStatHandler(storage blobserver.BlobStatter) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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