api

package
v0.0.2412 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Copyright 2024 Contributors to the Veraison project. SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeMediaType

func NormalizeMediaType(mt string) (string, error)

NormalizeMediaType validates the supplied media type (including any parameters) and returns it in normalized form, i.e., with lowercase type, subtype and, optionally, parameter name. An error is returned if the supplied media type is invalid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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