Age | Commit message (Collapse) | Author |
|
This auto-applies the recommended Go codestyle.
|
|
Multiplexer functions used to return closures which are able to handle
HTTP requests for historc reasons. Now the multiplexers can be regular
HTTP handlers which is simpler.
|
|
Passing the database pointer around is a lot of text and has no benefit.
|
|
|
|
This introduces a layered approach to handling HTTP requests:
- server layer
- path layer
- request layer
The multiplexer file cares about the path layer. It delegates the
request handling to handlers from the request layer.
|