Skip to content

SudoSOS Back-end API / internal/files

internal/files ​

This is the module page of the simple-file-controller.

Classes ​

ClassDescription
BaseFile-
FileService-
Pdf-
SimpleFileControllerThis 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 ​

InterfaceDescription
DownloadFileResponse-
PdfUrlResponse-
SimpleFileRequest-
SimpleFileResponse-

Type Aliases ​

Type AliasDescription
StorageMethodPossible storage methods that can be used

Functions ​

FunctionDescription
initializeDiskStorageCreate all folders necessary to store files locally on disk
putFileInResponse-