diff options
Diffstat (limited to 'types')
| -rw-r--r-- | types/http.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/types/http.go b/types/http.go new file mode 100644 index 0000000..bc85d99 --- /dev/null +++ b/types/http.go @@ -0,0 +1,13 @@ +package types + +type HTTPMethod string + +const ( + GET HTTPMethod = "GET" + POST HTTPMethod = "POST" + PUT HTTPMethod = "PUT" + PATCH HTTPMethod = "PATCH" + DELETE HTTPMethod = "DELETE" + OPTIONS HTTPMethod = "OPTIONS" + HEAD HTTPMethod = "HEAD" +) |
