summaryrefslogtreecommitdiff
path: root/cli/imgup/struct.go
diff options
context:
space:
mode:
Diffstat (limited to 'cli/imgup/struct.go')
-rw-r--r--cli/imgup/struct.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/cli/imgup/struct.go b/cli/imgup/struct.go
new file mode 100644
index 0000000..9881ef6
--- /dev/null
+++ b/cli/imgup/struct.go
@@ -0,0 +1,18 @@
+package main
+
+type Data struct {
+ Height int `json:"height"`
+ Width int `json:"width"`
+ Link string `json:"link"`
+ Mime string `json:"mime"`
+ Error string `json:"error"`
+ Thumbs
+}
+
+type Thumbs struct{}
+
+type response struct {
+ Data `json:"data"`
+ Success bool `json:"success"`
+ Status int `json:"status"`
+}