httpheader

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MPL-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPHeader

type HTTPHeader map[string][]string

HTTPHeader is our custom header type that can merge fields.

func (HTTPHeader) MergeHeaders

func (h HTTPHeader) MergeHeaders(nh HTTPHeader)

MergeHeaders is used to merge two headers together as one. It takes all the incoming header values and merges them to HTTPHeader without replacing the previous value

Jump to

Keyboard shortcuts

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