mirror of
https://github.com/wonli/aqi.git
synced 2025-09-27 04:56:31 +08:00
19 lines
448 B
Go
19 lines
448 B
Go
package apic
|
|
|
|
import "net/http"
|
|
|
|
// HttpMethod http method name
|
|
type HttpMethod string
|
|
|
|
const (
|
|
GET HttpMethod = http.MethodGet
|
|
HEAD HttpMethod = http.MethodHead
|
|
POST HttpMethod = http.MethodPost
|
|
PUT HttpMethod = http.MethodPut
|
|
PATCH HttpMethod = http.MethodPatch
|
|
DELETE HttpMethod = http.MethodDelete
|
|
CONNECT HttpMethod = http.MethodConnect
|
|
OPTIONS HttpMethod = http.MethodOptions
|
|
TRACE HttpMethod = http.MethodTrace
|
|
)
|