workgroups/vendor/github.com/DisgoOrg/restclient/methods.go
Marvin Preuss 1d4ae27878
All checks were successful
continuous-integration/drone/push Build is passing
ci: drone yaml with reusable anchors
2021-09-24 17:34:17 +02:00

18 lines
293 B
Go

package restclient
// Method is a HTTP request Method
type Method string
// HTTP Methods used by Discord
const (
DELETE Method = "DELETE"
GET Method = "GET"
POST Method = "POST"
PUT Method = "PUT"
PATCH Method = "PATCH"
)
func (m Method) String() string {
return string(m)
}