Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileUpload ¶
type FileUpload struct { ID string `json:"id"` Ext string `json:"ext"` Type string `json:"type"` Checksum string `json:"checksum"` Key string `json:"key"` Link string `json:"link"` Delete string `json:"delete"` }
func UploadFile ¶
func UploadFile(rc io.ReadCloser, fileName string, contentType string) (upload FileUpload, err error)
Click to show internal directories.
Click to hide internal directories.