Documentation ¶
Overview ¶
Package handlers is an implementation of Handlerser
Index ¶
- type Handlers
- func (h *Handlers) AbortMultipartUploadHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) CompleteMultipartUploadHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) CopyObjectHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) Cors(handler http.Handler) http.Handler
- func (h *Handlers) CreateBucketHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) CreateMultipartUploadHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) DeleteBucketHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) DeleteObjectHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) DeleteObjectsHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) GetBucketACLHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) GetObjectACLHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) GetObjectHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) HeadBucketHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) HeadObjectHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) ListBucketsHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) ListObjectsHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) ListObjectsV2Handler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) Log(handler http.Handler) http.Handler
- func (h *Handlers) PutBucketACLHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) PutObjectHandler(w http.ResponseWriter, r *http.Request)
- func (h *Handlers) Sign(handler http.Handler) http.Handler
- func (h *Handlers) UploadPartHandler(w http.ResponseWriter, r *http.Request)
- type Handlerser
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
func NewHandlers ¶
func (*Handlers) AbortMultipartUploadHandler ¶
func (h *Handlers) AbortMultipartUploadHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) CompleteMultipartUploadHandler ¶
func (h *Handlers) CompleteMultipartUploadHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) CopyObjectHandler ¶
func (h *Handlers) CopyObjectHandler(w http.ResponseWriter, r *http.Request)
CopyObjectHandler .
func (*Handlers) CreateBucketHandler ¶
func (h *Handlers) CreateBucketHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) CreateMultipartUploadHandler ¶
func (h *Handlers) CreateMultipartUploadHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) DeleteBucketHandler ¶
func (h *Handlers) DeleteBucketHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) DeleteObjectHandler ¶
func (h *Handlers) DeleteObjectHandler(w http.ResponseWriter, r *http.Request)
DeleteObjectHandler .
func (*Handlers) DeleteObjectsHandler ¶
func (h *Handlers) DeleteObjectsHandler(w http.ResponseWriter, r *http.Request)
DeleteObjectsHandler .
func (*Handlers) GetBucketACLHandler ¶
func (h *Handlers) GetBucketACLHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) GetObjectACLHandler ¶
func (h *Handlers) GetObjectACLHandler(w http.ResponseWriter, r *http.Request)
GetObjectACLHandler - GET Object ACL
func (*Handlers) GetObjectHandler ¶
func (h *Handlers) GetObjectHandler(w http.ResponseWriter, r *http.Request)
GetObjectHandler .
func (*Handlers) HeadBucketHandler ¶
func (h *Handlers) HeadBucketHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) HeadObjectHandler ¶
func (h *Handlers) HeadObjectHandler(w http.ResponseWriter, r *http.Request)
HeadObjectHandler .
func (*Handlers) ListBucketsHandler ¶
func (h *Handlers) ListBucketsHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) ListObjectsHandler ¶
func (h *Handlers) ListObjectsHandler(w http.ResponseWriter, r *http.Request)
ListObjectsHandler .
func (*Handlers) ListObjectsV2Handler ¶
func (h *Handlers) ListObjectsV2Handler(w http.ResponseWriter, r *http.Request)
ListObjectsV2Handler .
func (*Handlers) PutBucketACLHandler ¶
func (h *Handlers) PutBucketACLHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) PutObjectHandler ¶
func (h *Handlers) PutObjectHandler(w http.ResponseWriter, r *http.Request)
PutObjectHandler .
func (*Handlers) UploadPartHandler ¶
func (h *Handlers) UploadPartHandler(w http.ResponseWriter, r *http.Request)
type Handlerser ¶
type Handlerser interface { Cors(handler http.Handler) http.Handler Sign(handler http.Handler) http.Handler Log(handler http.Handler) http.Handler CreateBucketHandler(w http.ResponseWriter, r *http.Request) HeadBucketHandler(w http.ResponseWriter, r *http.Request) DeleteBucketHandler(w http.ResponseWriter, r *http.Request) ListBucketsHandler(w http.ResponseWriter, r *http.Request) PutBucketACLHandler(w http.ResponseWriter, r *http.Request) GetBucketACLHandler(w http.ResponseWriter, r *http.Request) PutObjectHandler(w http.ResponseWriter, r *http.Request) CopyObjectHandler(w http.ResponseWriter, r *http.Request) HeadObjectHandler(w http.ResponseWriter, r *http.Request) GetObjectHandler(w http.ResponseWriter, r *http.Request) DeleteObjectHandler(w http.ResponseWriter, r *http.Request) DeleteObjectsHandler(w http.ResponseWriter, r *http.Request) ListObjectsHandler(w http.ResponseWriter, r *http.Request) ListObjectsV2Handler(w http.ResponseWriter, r *http.Request) GetObjectACLHandler(w http.ResponseWriter, r *http.Request) CreateMultipartUploadHandler(w http.ResponseWriter, r *http.Request) UploadPartHandler(w http.ResponseWriter, r *http.Request) AbortMultipartUploadHandler(w http.ResponseWriter, r *http.Request) CompleteMultipartUploadHandler(w http.ResponseWriter, r *http.Request) }
Click to show internal directories.
Click to hide internal directories.