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.
15 lines
374 B
Go
15 lines
374 B
Go
1 year ago
|
package httpdata
|
||
|
|
||
|
type Code string
|
||
|
|
||
|
const (
|
||
|
CodeOK Code = "ok"
|
||
|
CodeError Code = "error"
|
||
|
CodeBadRequest Code = "bad_request"
|
||
|
CodeInternal Code = "internal"
|
||
|
CodeInternalUpstream Code = "internal.upstream"
|
||
|
CodeUnexpect Code = "unexpect"
|
||
|
CodeUnexpectPanic Code = "unexpect.panic"
|
||
|
CodeUnknown Code = "unknown"
|
||
|
)
|