status: Reintroduce StatusSensitiveInput

This commit is contained in:
Adnan Maolood 2021-03-15 15:19:43 -04:00
parent 93a606b591
commit 2144e2c2f2

View File

@ -6,6 +6,7 @@ type Status int
// Gemini status codes.
const (
StatusInput Status = 10
StatusSensitiveInput Status = 11
StatusSuccess Status = 20
StatusRedirect Status = 30
StatusPermanentRedirect Status = 31
@ -36,6 +37,8 @@ func (s Status) String() string {
switch s {
case StatusInput:
return "Input"
case StatusSensitiveInput:
return "Sensitive input"
case StatusSuccess:
return "Success"
case StatusRedirect: