diff options
| author | Horus3 | 2015-04-21 05:57:21 +0200 |
|---|---|---|
| committer | Horus3 | 2015-04-21 05:57:21 +0200 |
| commit | 7e4ccc40be46366fd8c0550aca1bfb6e73c3b5c6 (patch) | |
| tree | 659e0206d73607dbe2cdb75ab871e078d06d37ad /cli/imgup/struct.go | |
| parent | c92ed3c93c379368f615809aa599426890bf2057 (diff) | |
| download | mandible-7e4ccc40be46366fd8c0550aca1bfb6e73c3b5c6.tar.gz | |
Add cli program.
Diffstat (limited to 'cli/imgup/struct.go')
| -rw-r--r-- | cli/imgup/struct.go | 18 |
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"` +} |
