-
Notifications
You must be signed in to change notification settings - Fork 8
/
request.go
41 lines (39 loc) · 1.22 KB
/
request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package elfinder
type ELFRequest struct {
Cmd string `form:"cmd"`
Init bool `form:"init"`
Tree bool `form:"tree"`
Name string `form:"name"`
Target string `form:"target"`
Targets []string `form:"targets[]"`
Dirs []string `form:"dirs[]"`
Mode string `form:"mode"`
Bg string `form:"bg"`
Width int `form:"width"`
Height int `form:"height"`
X int `form:"x"`
Y int `form:"y"`
Degree int `form:"degree"`
Quality int `form:"quality"`
Renames []string `form:"renames[]"`
Suffix string `form:"suffix"`
Intersect []string `form:"intersect[]"`
Chunk string `form:"chunk"`
UploadPath []string `form:"upload_path[]"`
Cid int `form:"cid"`
Content string `form:"content"`
Dst string `form:"dst"`
Src string `form:"src"`
Cut bool `form:"cut"`
Type string `form:"type"`
MakeDir bool `form:"makedir"`
Range string `form:"range"`
Download string `form:"download"`
QueryKey string `form:"q"`
Mimes []string `form:"mimes[]"`
}
type ChunkRange struct {
Offset int64
Length int64
TotalSize int64
}