summaryrefslogtreecommitdiff
path: root/cli/imgup/struct.go
blob: 9881ef63231f2e46d317797860c78708bdd4501f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"`
}