-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstatus.go
27 lines (25 loc) · 1.01 KB
/
status.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package gemini
type Status int
const (
StatusInput = 10
StatusSuccess = 20
StatusSuccessEndClientCertificateSession = 21
StatusRedirectTemporary = 30
StatusRedirectPermanent = 31
StatusTemporaryFailure = 40
StatusServerUnavailable = 41
StatusCGIError = 42
StatusProxyError = 43
StatusSlowDown = 44
StatusPermanentFailure = 50
StatusNotFound = 51
StatusGone = 52
StatusProxyRequestRefused = 53
StatusBadRequest = 59
StatusClientCertRequired = 60
StatusTransientCertRequested = 61
StatusAuthorisedCertRequired = 62
StatusCertNotAccepted = 63
StatusFutureCertRejected = 64
StatusExpiredCertRejected = 65
)