summaryrefslogtreecommitdiff
path: root/handlers_test.go
AgeCommit message (Collapse)Author
11 daysSwitch Register() and Authenticate() to sql.Txxengineering
Using sql.Tx (database transactions) instead of a plain database has the advantage that the caller can wrap multiple library calls into one transaction. This guarantees that no database entries change between the library calls which is critical to prevent race conditions.
2026-06-22Harmonize function names furtherxengineering
2026-06-22Remove registration handlerxengineering
This should be an admin-only task which should maybe be done via command line on the server.
2026-06-21Use only string-based input output for HTTP testsxengineering
The API should only communicate via UTF-8 encoded text. Requiring by default makes test case notation easier and improves scalability.
2026-06-21Name HTTP handlers based on intended pathsxengineering
2026-06-21Add authenticate HTTP handlerxengineering
2026-06-21Add `register` HTTP handlerxengineering
This allows users to register.
2026-06-20Add TestHTTPVersionxengineering
This introduces the first HTTP test.