aboutsummaryrefslogtreecommitdiff
path: root/mux_test.go
Commit message (Collapse)AuthorAgeFilesLines
* mux: Add more testsAdnan Maolood2021-06-261-2/+218
|
* mux: Remove support for handling schemesAdnan Maolood2021-06-261-181/+6
| | | | | Also fix redirection to subtree roots for wildcard patterns and patterns without a host name.
* Rename ServeMux to MuxAdnan Maolood2021-03-151-2/+2
|
* Make ResponseWriter an interfaceAdnan Maolood2021-02-241-1/+1
| | | | | | | 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.
* Make ResponseWriter a structAdnan Maolood2021-02-231-1/+1
| | | | | Make ResponseWriter a struct again so that it can be extended in a backwards-compatible way.
* handler: Make ServeGemini accept a ContextAdnan Maolood2021-02-201-1/+2
|
* mux: Implement matching of schemes and hostnamesAdnan Maolood2021-02-171-0/+314