headerutil

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package headerutil implements functions for working with heade of http request/response.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadRequestHeader

func ReadRequestHeader(req *http.Request) map[string][]string

ReadRequestHeader returns header of req. Header is presented as map of string arrays.

func ReadResponseHeader

func ReadResponseHeader(resp *http.Response) map[string][]string

ReadResponseHeader returns header of resp. Header is presented as map of string arrays.

Types

This section is empty.

Jump to

Keyboard shortcuts

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