utils

package
v0.0.0-...-f91c1ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2020 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReturnContentType

func ReturnContentType(iFile *multipart.FileHeader) string

ReturnContentType takes a fileheader and returns the filetype

func ValidContentType

func ValidContentType(iFile *multipart.FileHeader) bool

ValidContentType checks if a file is actually an image.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL