request

package
Version: v0.0.0-...-24b4de3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: GPL-2.0-only Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HeaderValue

func HeaderValue(r *http.Request, key string) (string, error)

HeaderValue returns header value by given key, error if nil or empty

func IsMethod

func IsMethod(r *http.Request, expected string) bool

IsMethod returns whether actual request method equals expected one

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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