package
0.0.0-20241029013314-06af37cb7d44
Repository: https://github.com/rogue-syntax/rs-goapiserver.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Function to find the MIME type based on file extension.
VerifyExtension checks the file extension against the expected MIME types It returns the file extension if it matches an entry in FileExtensionsLookup[mimeTypeList], otherwise it returns an error The file is rewound to the beginning after the check - file: the file to check - ext: the file extension to check against - mimeTypeList: the list of MIME types to check against, e.g.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author