httpheader

package
v0.0.0-...-7940cbf Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 0 Imported by: 0

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