Skip to content

Commit

Permalink
Add net/http Method map to contracts/http (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbrzzl authored Apr 24, 2023
1 parent b84ce1a commit a594cbd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions contracts/http/method.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package http

import (
"net/http"
)

const (
MethodGet = http.MethodGet
MethodHead = http.MethodHead
MethodPost = http.MethodPost
MethodPut = http.MethodPut
MethodPatch = http.MethodPatch
MethodDelete = http.MethodDelete
MethodConnect = http.MethodConnect
MethodOptions = http.MethodOptions
MethodTrace = http.MethodTrace
)

0 comments on commit a594cbd

Please sign in to comment.