mimeutil

package
v0.35.6 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectContentTypeFile

func DetectContentTypeFile(name string) (string, error)

DetectContentTypeFile detects the media type by reading MIME type information of the file content.

func DetectContentTypeReadSeeker

func DetectContentTypeReadSeeker(rs io.ReadSeeker) (string, error)

DetectContentTypeReadSeeker detects the media type by reading MIME type information of an `io.ReadSeeker`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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