Add support for configs
This commit is contained in:
@@ -21,7 +21,6 @@ func File(path string, fileSize int64, added string, link string) Response {
|
||||
IsHidden: 0,
|
||||
CreationDate: added,
|
||||
LastModified: added,
|
||||
Link: link,
|
||||
},
|
||||
Status: "HTTP/1.1 200 OK",
|
||||
},
|
||||
|
||||
@@ -24,8 +24,6 @@ type Prop struct {
|
||||
CreationDate string `xml:"d:creationdate"`
|
||||
LastModified string `xml:"d:getlastmodified"`
|
||||
IsHidden int `xml:"d:ishidden"`
|
||||
Filename string `xml:"-"`
|
||||
Link string `xml:"-"`
|
||||
}
|
||||
|
||||
type ResourceType struct {
|
||||
|
||||
@@ -15,7 +15,7 @@ type UnrestrictResponse struct {
|
||||
|
||||
type Torrent struct {
|
||||
ID string `json:"id"`
|
||||
Filename string `json:"filename"`
|
||||
Name string `json:"filename"`
|
||||
Hash string `json:"hash"`
|
||||
Progress int `json:"progress"`
|
||||
Added string `json:"added"`
|
||||
|
||||
Reference in New Issue
Block a user