diff options
| author | Adnan Maolood <[email protected]> | 2021-02-21 18:52:04 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-21 18:52:06 -0500 |
| commit | 2c64db3863cc6ba3c930d43a3a6b8ee60f3263fb (patch) | |
| tree | dff42af8b6f62ef609c06762e75c2d4ff10b9bfe /timeout.go | |
| parent | client: Remove Timeout (diff) | |
| download | go-gemini-2c64db3863cc6ba3c930d43a3a6b8ee60f3263fb.tar.xz go-gemini-2c64db3863cc6ba3c930d43a3a6b8ee60f3263fb.zip | |
Rename ResponseWriter.MediaType to SetMediaType
Diffstat (limited to 'timeout.go')
| -rw-r--r-- | timeout.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ type timeoutWriter struct { timedOut bool } -func (w *timeoutWriter) MediaType(mediatype string) { +func (w *timeoutWriter) SetMediaType(mediatype string) { w.mu.Lock() defer w.mu.Unlock() w.mediatype = mediatype |