Update documentation

This commit is contained in:
Adnan Maolood
2020-10-24 15:29:12 -04:00
parent 909e0c857a
commit ca118681c0
2 changed files with 3 additions and 3 deletions

View File

@@ -321,7 +321,7 @@ func Certificate(w *ResponseWriter, r *Request) (*x509.Certificate, bool) {
return r.TLS.PeerCertificates[0], true
}
// ResponderFunc is a wrapper around a bare function that implements Handler.
// ResponderFunc is a wrapper around a bare function that implements Responder.
type ResponderFunc func(*ResponseWriter, *Request)
func (f ResponderFunc) Respond(w *ResponseWriter, r *Request) {