Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateV1UploadHandler ¶ added in v1.2.0
func CreateV1UploadHandler(storeFile StoreFile) http.HandlerFunc
func StatusHandler ¶ added in v1.3.0
func StatusHandler(store files.Store) http.HandlerFunc
Types ¶
type JsonErrors ¶ added in v1.12.0
type JsonErrors struct {
Error []JsonError `json:"errors"`
}
type Metadata ¶ added in v1.2.0
type Metadata struct {
Path string `schema:"path" validate:"required,aws-upload-key"`
IsPublishable *bool `schema:"isPublishable,omitempty" validate:"required"`
CollectionId *string `schema:"collectionId,omitempty"`
BundleId *string `schema:"bundleId,omitempty"`
Title string `schema:"title"`
SizeInBytes int `schema:"resumableTotalSize" validate:"required"`
Type string `schema:"resumableType" validate:"required"`
Licence string `schema:"licence" validate:"required"`
LicenceUrl string `schema:"licenceUrl" validate:"required"`
}
Click to show internal directories.
Click to hide internal directories.