aboutsummaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'handler.go')
-rw-r--r--handler.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/handler.go b/handler.go
index 5c7d9aa..7da523d 100644
--- a/handler.go
+++ b/handler.go
@@ -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() {}