Documentation ¶
Index ¶
- type Bucket
- type Handler
- func (wrapper *Handler) ACLHandle(writer http.ResponseWriter, request *http.Request)
- func (wrapper *Handler) ACLParseInput(r *http.Request) (*s3.GetBucketAclInput, error)
- func (wrapper *Handler) ListHandle(writer http.ResponseWriter, request *http.Request)
- func (wrapper *Handler) ListParseInput(request *http.Request) (*s3.ListObjectsV2Input, error)
- func (wrapper *Handler) Register(mux *mux.Router)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket interface { Register(mux *mux.Router) New(s3Handler *gcs_handler.Handler) *Handler ListHandle(writer http.ResponseWriter, request *http.Request) ListParseInput(request *http.Request) (*s3.ListObjectsV2Input, error) ACLHandle(writer http.ResponseWriter, request *http.Request) ACLParseInput(r *http.Request) (*s3.GetBucketAclInput, error) }
Interface for bucket functions
type Handler ¶
type Handler struct {
*gcs_handler.Handler
}
func New ¶
func New(gcsHandler *gcs_handler.Handler) *Handler
func (*Handler) ACLHandle ¶
func (wrapper *Handler) ACLHandle(writer http.ResponseWriter, request *http.Request)
func (*Handler) ACLParseInput ¶
func (*Handler) ListHandle ¶
func (wrapper *Handler) ListHandle(writer http.ResponseWriter, request *http.Request)
func (*Handler) ListParseInput ¶
Click to show internal directories.
Click to hide internal directories.