Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserKey string
UserKey must be created at https://vgy.me/account/details It's not mandatory. But if you don't set it you won't get the uploaded image attached to your vgy.me account
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Error bool URL string // direct URL of the image Image string Extension string Filesize int64 // File size in bytes DeleteURL string `json:"delete"` // URL to delete the image from vgy.me hosting UploadList []string `json:"upload_list"` // List of URL when upload several images }
Response returned information from vgy.me after posting an image
func UploadImageFile ¶
UploadImageFile uploads an image (.png, .jpg) to vgy.me
Click to show internal directories.
Click to hide internal directories.