httputils

package
v2.0.3-beta.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HeaderToMap

func HeaderToMap(header http.Header) map[string]string

HeaderToMap coverts request headers to map[string]string.

func MapToHeader

func MapToHeader(m map[string]string) http.Header

MapToHeader coverts map[string]string to request headers.

func PickHeader

func PickHeader(header http.Header, key, defaultValue string) string

PickHeader pick header with key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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