| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add message argument to TimeoutHandler | Adnan Maolood | 2021-02-28 | 1 | -8/+11 |
| | | |||||
| * | Remove ResponseWriter.Close method | Adnan Maolood | 2021-02-24 | 1 | -11/+6 |
| | | |||||
| * | ResponseWriter: Remove unexported method | Adnan Maolood | 2021-02-24 | 1 | -2/+0 |
| | | |||||
| * | TimeoutHandler: Mention returned error | Adnan Maolood | 2021-02-24 | 1 | -1/+2 |
| | | |||||
| * | Add unexported method to timeout writer | Adnan Maolood | 2021-02-24 | 1 | -1/+2 |
| | | |||||
| * | Implement TimeoutHandler by wrapping ResponseWriter | Adnan Maolood | 2021-02-24 | 1 | -7/+50 |
| | | |||||
| * | Make ResponseWriter an interface | Adnan Maolood | 2021-02-24 | 1 | -6/+6 |
| | | | | | | | | 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. | ||||
| * | Remove ErrHandlerTimeout | Adnan Maolood | 2021-02-23 | 1 | -2/+1 |
| | | |||||
| * | Move TimeoutHandler to handler.go | Adnan Maolood | 2021-02-23 | 1 | -0/+44 |
| | | |||||
| * | Make ResponseWriter a struct | Adnan Maolood | 2021-02-23 | 1 | -5/+5 |
| | | | | | | Make ResponseWriter a struct again so that it can be extended in a backwards-compatible way. | ||||
| * | handler: Mention when the context is canceled | Adnan Maolood | 2021-02-23 | 1 | -0/+3 |
| | | |||||
| * | handler: Mention ResponseWriter.Close method | Adnan Maolood | 2021-02-23 | 1 | -1/+2 |
| | | |||||
| * | Use HandlerFunc to implement StatusHandler | Adnan Maolood | 2021-02-23 | 1 | -10/+3 |
| | | |||||
| * | server: Don't recover from panics | Adnan Maolood | 2021-02-21 | 1 | -7/+0 |
| | | |||||
| * | Use StatusHandler in NotFoundHandler implementation | Adnan Maolood | 2021-02-21 | 1 | -3/+1 |
| | | |||||
| * | Rename RedirectHandler to StatusHandler | Adnan Maolood | 2021-02-20 | 1 | -11/+8 |
| | | |||||
| * | Remove NotFound function | Adnan Maolood | 2021-02-20 | 1 | -7/+4 |
| | | |||||
| * | Make Status a type | Adnan Maolood | 2021-02-20 | 1 | -6/+6 |
| | | | | | Using a type is better than using an integer. | ||||
| * | handler: Make ServeGemini accept a Context | Adnan Maolood | 2021-02-20 | 1 | -10/+11 |
| | | |||||
| * | Reverse order of RedirectHandler arguments | Adnan Maolood | 2021-02-17 | 1 | -3/+3 |
| | | |||||
| * | Add utility Handler functions | Adnan Maolood | 2021-02-17 | 1 | -0/+91 |