1
0

Added Delete log to UploadHandlers.

This commit is contained in:
Alexander Andreev 2022-07-01 03:30:40 +04:00
parent c8e1cb275f
commit 14e0886790
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -24,16 +24,18 @@ type UploadHandlers struct {
logErr *logging.Logger logErr *logging.Logger
logUpload *logging.Logger logUpload *logging.Logger
logDownload *logging.Logger logDownload *logging.Logger
logDelete *logging.Logger
uploadDirSize *int64 uploadDirSize *int64
} }
func NewUploadHandlers(conf *configuration.Configuration, lErr, lUp, lDown *logging.Logger, uploadDirSize *int64) *UploadHandlers { func NewUploadHandlers(conf *configuration.Configuration, lErr, lUp, lDown, lDel *logging.Logger, uploadDirSize *int64) *UploadHandlers {
return &UploadHandlers{ return &UploadHandlers{
conf: conf, conf: conf,
logErr: lErr, logErr: lErr,
logUpload: lUp, logUpload: lUp,
logDownload: lDown, logDownload: lDown,
logDelete: lDel,
uploadDirSize: uploadDirSize} uploadDirSize: uploadDirSize}
} }