parent
61987fdc7a
commit
847b48f425
@ -0,0 +1,17 @@
|
|||||||
|
// Copyright 2015 The Go Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
package router
|
||||||
|
|
||||||
|
const (
|
||||||
|
MethodGet = "GET"
|
||||||
|
MethodHead = "HEAD"
|
||||||
|
MethodPost = "POST"
|
||||||
|
MethodPut = "PUT"
|
||||||
|
MethodPatch = "PATCH" // RFC 5789
|
||||||
|
MethodDelete = "DELETE"
|
||||||
|
MethodConnect = "CONNECT"
|
||||||
|
MethodOptions = "OPTIONS"
|
||||||
|
MethodTrace = "TRACE"
|
||||||
|
)
|
Loading…
Reference in New Issue