You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
787 B
Go
24 lines
787 B
Go
1 year ago
|
package code
|
||
|
|
||
|
import "net/http"
|
||
|
|
||
|
const (
|
||
|
StatusUnknown int = -1
|
||
|
StatusOK = http.StatusOK
|
||
|
StatusFailed = 0
|
||
|
|
||
|
StatusBadRequest = http.StatusBadRequest
|
||
|
StatusUnauthorized = http.StatusUnauthorized
|
||
|
StatusForbidden = http.StatusForbidden
|
||
|
StatusNotFound = http.StatusNotFound
|
||
|
StatusRequestTimeout = http.StatusRequestTimeout
|
||
|
StatusConflict = http.StatusConflict
|
||
|
StatusTooManyRequests = http.StatusTooManyRequests
|
||
|
|
||
|
StatusInternalServerError = http.StatusInternalServerError
|
||
|
StatusNotImplemented = http.StatusNotImplemented
|
||
|
StatusBadGateway = http.StatusBadGateway
|
||
|
StatusServiceUnavailable = http.StatusServiceUnavailable
|
||
|
StatusGatewayTimeout = http.StatusGatewayTimeout
|
||
|
)
|