diff options
| author | Adnan Maolood <[email protected]> | 2021-02-23 18:59:20 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-23 18:59:20 -0500 |
| commit | a34cf6dd1b66bf5bcb91d62161b54c39251b614e (patch) | |
| tree | 2aac92b00c27a6afdf8c007cb39bd06eea654a19 /handler.go | |
| parent | client: Clarify usage of contexts (diff) | |
| download | go-gemini-a34cf6dd1b66bf5bcb91d62161b54c39251b614e.tar.xz go-gemini-a34cf6dd1b66bf5bcb91d62161b54c39251b614e.zip | |
handler: Mention ResponseWriter.Close method
Diffstat (limited to 'handler.go')
| -rw-r--r-- | handler.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,8 @@ import ( // ServeGemini should write the response header and data to the ResponseWriter // and then return. Returning signals that the request is finished; it is not // valid to use the ResponseWriter after or concurrently with the completion -// of the ServeGemini call. +// of the ServeGemini call. Handlers may also call ResponseWriter.Close to +// manually close the connection. // // Handlers should not modify the provided Request. type Handler interface { |