diff --git a/internal/http/handlers.go b/internal/http/handlers.go index d6a30d1..c7401e4 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -2,7 +2,6 @@ package http import ( "crypto/sha256" - "dwelling-upload/pkg/logging" "dwelling-upload/pkg/utils" "dwelling-upload/web" "encoding/base64" @@ -19,7 +18,7 @@ import ( ) type UploadHandlers struct { - logFile *logging.Logger + logFile *log.Logger uploadDir string uploadDirSize *int64 @@ -31,7 +30,7 @@ type UploadHandlers struct { limitFileSize int64 } -func NewUploadHandlers(lFile *logging.Logger, uploadDir string, uploadDirSize *int64, +func NewUploadHandlers(lFile *log.Logger, uploadDir string, uploadDirSize *int64, hashSalt string, keepForHours int, limStorage, limFileSz int64) *UploadHandlers { return &UploadHandlers{ logFile: lFile,