Documentation ¶
Index ¶
Constants ¶
View Source
const ( PublicFileField = "public" EndpointFormat = "%s/v1/upload" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Upload(fileName string, contents []byte) (UploadedFile, apperrors.AppError)
}
type Response ¶
type Response struct { UploadedFiles []UploadedFile Errors []ResponseError }
type ResponseError ¶
Click to show internal directories.
Click to hide internal directories.