httpheader

package
v0.9.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MPL-2.0 Imports: 3 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

func (*HTTPHeader) Scan added in v0.9.0

func (h *HTTPHeader) Scan(value interface{}) error

func (HTTPHeader) Value added in v0.9.0

func (h HTTPHeader) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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