17 lines
329 B
Go
17 lines
329 B
Go
package listing
|
|
|
|
import (
|
|
filemodule "hfb_sys/backend/internal/modules/file"
|
|
)
|
|
|
|
type Handler struct {
|
|
service *Service
|
|
storage *filemodule.Storage
|
|
}
|
|
|
|
const maxExternalUploadBodyBytes = 256 * 1024
|
|
|
|
func NewHandler(service *Service, storage *filemodule.Storage) *Handler {
|
|
return &Handler{service: service, storage: storage}
|
|
}
|