Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloudinary ¶
type Cloudinary struct {
// contains filtered or unexported fields
}
Cloudinary main struct
type ErrorResp ¶
type ErrorResp struct {
Message string `json:"message"`
}
ErrorResp is the failed api request main struct
type Upload ¶
type Upload struct { PublicId string `json:"public_id"` Version int `json:"version"` Signature string `json:"signature"` Width int `json:"width"` Height int `json:"height"` Format string `json:"format"` ResourceType string `json:"resource_type"` CreatedAt string `json:"created_at"` Tags []string `json:"tags,omitempty"` Bytes int `json:"bytes"` Type string `json:"type"` Etag string `json:"etag"` Url string `json:"url"` SecureUrl string `json:"secure_url"` OriginalFilename string `json:"original_filename"` Error ErrorResp `json:"error,omitempty"` }
Upload image success response struct
Click to show internal directories.
Click to hide internal directories.