Documentation
¶
Index ¶
- func Cover(uploadedFile *multipart.FileHeader, cover *types.Cover, database *sql.DB, ...) *responses.Error
- func Episode(uploadedFile *multipart.FileHeader, episode *types.Episode, database *sql.DB, ...) *responses.Error
- func Movie(uploadedFile *multipart.FileHeader, movie *types.Movie, database *sql.DB, ...) (*string, *responses.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cover ¶
func Cover( uploadedFile *multipart.FileHeader, cover *types.Cover, database *sql.DB, uploadDirectory *string, log *logger.Logger, functionId *string, ) *responses.Error
This takes a movie cover file and stores it in the file system and database.
This function returns an error response that needs to be sent to the client.
func Episode ¶
func Episode( uploadedFile *multipart.FileHeader, episode *types.Episode, database *sql.DB, uploadDirectory *string, log *logger.Logger, functionId *string, ) *responses.Error
This takes a episode file and stores it in the file system and database.
This function does not return anything.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.