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
Click to show internal directories.
Click to hide internal directories.