summaryrefslogtreecommitdiff
path: root/server.go
AgeCommit message (Collapse)Author
2023-02-11Apply go fmt *.goxengineering
This auto-applies the recommended Go codestyle.
2023-02-11Rework loggingxengineering
Logging during a request is at the moment not really needed. Printing the config to the log was a stupid idea too.
2023-02-11Make multiplexer regular handlersxengineering
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.
2023-02-11Switch to global database pointerxengineering
Passing the database pointer around is a lot of text and has no benefit.
2023-02-11Switch webserver to global config structxengineering
2023-02-11Rename router.go to server.goxengineering
This fits better because this file is the central entry point of the Ceres webserver.