SudoSOS Back-end API / internal/files
internal/files ​
This is the module page of the simple-file-controller.
Classes ​
| Class | Description |
|---|---|
| BaseFile | - |
| FileService | - |
| - | |
| SimpleFileController | This is a mock-controller since there is no actual use for this controller in sudoSOS. This controller allows you to upload files to the server and retrieve them, however in actual production environment we only want to upload files with associations. |
Interfaces ​
| Interface | Description |
|---|---|
| DownloadFileResponse | - |
| PdfUrlResponse | - |
| SimpleFileRequest | - |
| SimpleFileResponse | - |
Type Aliases ​
| Type Alias | Description |
|---|---|
| StorageMethod | Possible storage methods that can be used |
Functions ​
| Function | Description |
|---|---|
| initializeDiskStorage | Create all folders necessary to store files locally on disk |
| putFileInResponse | - |