Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupHandlers ¶
func SetupHandlers(client uploader.MinioClient, buckets bucket.SystemBucketNames, uploadExternalEndpoint string, timeout time.Duration, maxWorkers int) *http.ServeMux
Types ¶
type RequestHandler ¶
type RequestHandler struct {
// contains filtered or unexported fields
}
func New ¶
func New(client uploader.MinioClient, buckets bucket.SystemBucketNames, externalUploadOrigin string, uploadTimeout time.Duration, maxUploadWorkers int) *RequestHandler
func (*RequestHandler) ServeHTTP ¶
func (r *RequestHandler) ServeHTTP(w http.ResponseWriter, rq *http.Request)
type Response ¶
type Response struct { UploadedFiles []uploader.UploadResult `json:"uploadedFiles,omitempty"` Errors []ResponseError `json:"errors,omitempty"` }
type ResponseError ¶
Click to show internal directories.
Click to hide internal directories.