Skip to content

Commit

Permalink
feat: sort and proxy config
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jun 7, 2022
1 parent ac0f984 commit 84eb978
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions internal/model/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,19 @@ type Account struct {
Driver string `json:"driver"`
Status string `json:"status"`
Addition string `json:"addition"`
Sort
Proxy
}

type Sort struct {
OrderBy string `json:"order_by"`
OrderDirection string `json:"order_direction"`
ExtractFolder string `json:"extract_folder"`
}

type Proxy struct {
WebProxy string `json:"web_proxy"`
WebdavProxy bool `json:"webdav_proxy"`
WebdavDirect bool `json:"webdav_direct"`
DownProxyUrl string `json:"down_proxy_url"`
}

0 comments on commit 84eb978

Please sign in to comment.