feat: add onedrive driver

This commit is contained in:
Noah Hsu
2022-08-30 21:52:06 +08:00
parent c95a7c2a04
commit f551dc76d0
21 changed files with 535 additions and 30 deletions

View File

@ -29,12 +29,12 @@ type Proxy struct {
DownProxyUrl string `json:"down_proxy_url"`
}
func (a *Storage) GetStorage() Storage {
return *a
func (s *Storage) GetStorage() *Storage {
return s
}
func (a *Storage) SetStatus(status string) {
a.Status = status
func (s *Storage) SetStatus(status string) {
s.Status = status
}
func (p Proxy) Webdav302() bool {