http

package
v0.0.0-...-492d98f Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpMethod

type HttpMethod uint8
const (
	DENY    HttpMethod = 0
	OPTIONS HttpMethod = 1
	GET     HttpMethod = 2
	HEAD    HttpMethod = 4
	POST    HttpMethod = 8
	PUT     HttpMethod = 16
	DELETE  HttpMethod = 32
	TRACE   HttpMethod = 64
	CONNECT HttpMethod = 128
	ALL     HttpMethod = 255
)

func ParseHttpMethod

func ParseHttpMethod(method string) HttpMethod

func (HttpMethod) In

func (m HttpMethod) In(method HttpMethod) bool

Jump to

Keyboard shortcuts

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