proxy

This commit is contained in:
微凉
2021-10-29 00:02:02 +08:00
parent 0a50fbd080
commit f4969560d4
6 changed files with 49 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import (
"github.com/Xhofe/alist/conf"
"github.com/Xhofe/alist/model"
"github.com/Xhofe/alist/utils"
"github.com/gofiber/fiber/v2"
log "github.com/sirupsen/logrus"
"io/ioutil"
"os"
@ -16,6 +17,10 @@ type Native struct {
}
func (n Native) Proxy(ctx *fiber.Ctx) {
panic("implement me")
}
func (n Native) Save(account *model.Account, old *model.Account) error {
log.Debugf("save a account: [%s]",account.Name)
return nil