cache

This commit is contained in:
微凉
2021-10-27 18:59:03 +08:00
parent fb7e67724d
commit 9644cc98c3
13 changed files with 743 additions and 29 deletions

View File

@ -5,7 +5,7 @@ import "github.com/Xhofe/alist/model"
type Driver interface {
Path(path string, account *model.Account) (*model.File, []*model.File, error)
Link(path string, account *model.Account) (string,error)
Save(account model.Account)
Save(account *model.Account, old *model.Account) error
}
var driversMap = map[string]Driver{}