Add unexported method to timeout writer

This commit is contained in:
Adnan Maolood 2021-02-24 08:34:04 -05:00
parent de339490f4
commit 41c95add81

View File

@ -123,7 +123,6 @@ func (t *timeoutHandler) ServeGemini(ctx context.Context, w ResponseWriter, r *R
}
type timeoutWriter struct {
ResponseWriter
wc io.WriteCloser
status Status
meta string
@ -158,3 +157,5 @@ func (w *timeoutWriter) Flush() error {
func (w *timeoutWriter) Close() error {
return w.wc.Close()
}
func (w *timeoutWriter) unexported() {}