media

package
v0.0.9-alpha32 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MediaTypeHTML        string = "text/html"
	MediaTypeJson        string = "application/json"
	MediaTypeScimJson    string = "application/scim+json"
	MediaTypeOctetStream string = "application/octet-stream"
	MediaTypeTextPlain   string = "text/plain"
	MediaTypeXML         string = "application/xml"
	MediaTypeTextXML     string = "text/xml"
)

Variables

This section is empty.

Functions

func GetResponseMediaType

func GetResponseMediaType(r *http.Response) (string, error)

func IsAcceptableMediaType

func IsAcceptableMediaType(mediaType string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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