diff options
| author | Adnan Maolood <[email protected]> | 2021-03-15 15:19:43 -0400 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-03-15 15:19:43 -0400 |
| commit | 2144e2c2f2b9ec798528a0bb490cf7b378e366fb (patch) | |
| tree | 89f60315bfb5c74ed7783341a5e58ac728949c5f | |
| parent | certificate.Store: Call os.MkdirAll on Load (diff) | |
| download | go-gemini-2144e2c2f2b9ec798528a0bb490cf7b378e366fb.tar.xz go-gemini-2144e2c2f2b9ec798528a0bb490cf7b378e366fb.zip | |
status: Reintroduce StatusSensitiveInputv0.1.21
| -rw-r--r-- | status.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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: |