| tag name | v0.1.5 (ca7741209f753195ccc5a16c80b3741d09bb9b2c) |
| tag date | 2020-11-01 16:55:45 -0500 |
| tagged by | Adnan Maolood <[email protected]> |
| tagged object | commit b6475aa7d9... |
| download | go-gemini-0.1.5.tar.xz go-gemini-0.1.5.zip |
|---|
Version 0.1.5 is released!
Version 0.1.5 brings a few bug fixes and improvements.
The function gemini.Certificate has been removed. Instead, the client
certificate is provided in (*Request).Certificate. It is up to the
server to handle the case that no certificate was provided:
if r.Certificate == nil {
w.WriteStatus(gemini.StatusCertificateRequired)
return
}
// ...
The function Input no longer accepts a ResponseWriter. It is up to the
server to handle the case that no input was provided:
input, ok := gemini.Input(r)
if !ok {
w.WriteHeader(gemini.StatusInput, "Prompt")
return
}
// ...
The function SensitiveInput has been removed. Use Input instead and
StatusSensitiveInput instead.