writeText writes a formatted line of the response. An error writing to the client cannot be reported back to it, so it is deliberately ignored.
(w io.Writer, format string, args ...any)
| 177 | // writeText writes a formatted line of the response. An error writing to the |
| 178 | // client cannot be reported back to it, so it is deliberately ignored. |
| 179 | func writeText(w io.Writer, format string, args ...any) { |
| 180 | _, _ = fmt.Fprintf(w, format, args...) |
| 181 | } |
| 182 | |
| 183 | // readCertificate reads a PEM encoded certificate from path. |
| 184 | func readCertificate(path string) (*x509.Certificate, error) { |
no outgoing calls
no test coverage detected