diff options
| author | Adnan Maolood <[email protected]> | 2021-02-24 00:13:44 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-24 00:13:46 -0500 |
| commit | 3660698a4b7c3b029c2fe47049d5b255b29c963b (patch) | |
| tree | ba1f1c1e0ba974fc3e8e645b66a7750610f84e4d /server.go | |
| parent | Remove ErrHandlerTimeout (diff) | |
| download | go-gemini-3660698a4b7c3b029c2fe47049d5b255b29c963b.tar.xz go-gemini-3660698a4b7c3b029c2fe47049d5b255b29c963b.zip | |
Make ResponseWriter an interface
Make ResponseWriter an interface with an unexported method. Implementors
must embed a ResponseWriter from elsewhere. This gives us the
flexibility of an interface while allowing us to add new methods in the
future.
Diffstat (limited to 'server.go')
0 files changed, 0 insertions, 0 deletions