Added Delete log to UploadHandlers.
This commit is contained in:
parent
c8e1cb275f
commit
14e0886790
@ -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}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user