feat: chunk uploads

This commit is contained in:
Rogee
2025-01-15 00:26:10 +08:00
parent 591771ce77
commit 9bfdf0e0ea
16 changed files with 451 additions and 40 deletions

View File

@@ -3,7 +3,6 @@ package middlewares
import (
"backend/providers/app"
"backend/providers/jwt"
"backend/providers/storage"
"backend/providers/wechat"
log "github.com/sirupsen/logrus"
@@ -13,10 +12,9 @@ import (
type Middlewares struct {
log *log.Entry `inject:"false"`
app *app.Config
storagePath *storage.Config
jwt *jwt.JWT
client *wechat.Client
app *app.Config
jwt *jwt.JWT
client *wechat.Client
}
func (f *Middlewares) Prepare() error {