Documentation ¶
Index ¶
Constants ¶
View Source
const ( Dir = "./internal/file_uploader" UploadPath = "/public/upload/files" SuccessResponseMessage = "File has been uploaded" )
Variables ¶
View Source
var AllowedExtensions = []string{"csv", "zip", "txt", "xlx", "xlsx", "xls", "pdf", "doc", "docx", "png", "jpg"}
Functions ¶
This section is empty.
Types ¶
type InportRequest ¶
type InportRequest struct {
entity.FileCreateRequest
}
type InportResponse ¶
type Outport ¶
type Outport interface { contract.Repository }
Click to show internal directories.
Click to hide internal directories.