Added Delete log to UploadHandlers.
This commit is contained in:
parent
c8e1cb275f
commit
14e0886790
@ -24,16 +24,18 @@ type UploadHandlers struct {
|
||||
logErr *logging.Logger
|
||||
logUpload *logging.Logger
|
||||
logDownload *logging.Logger
|
||||
logDelete *logging.Logger
|
||||
|
||||
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{
|
||||
conf: conf,
|
||||
logErr: lErr,
|
||||
logUpload: lUp,
|
||||
logDownload: lDown,
|
||||
logDelete: lDel,
|
||||
uploadDirSize: uploadDirSize}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user