Commit Graph

7 Commits

Author SHA1 Message Date
Muyao CHEN
0786a97a77 context: Get params from url 2024-09-26 21:15:15 +02:00
Muyao CHEN
cb1ea9f701 request/response: add implementations for response writer 2024-09-26 09:32:44 +02:00
Muyao CHEN
099d1aeb0f request/response: add interfaces and implementations 2024-09-25 22:20:00 +02:00
Muyao CHEN
1aa9b78bdc context: implement handler chain 2024-09-24 23:33:33 +02:00
Muyao CHEN
e8c4cbaa89 middleware/timeout: implement timeout middleware 2024-09-24 23:21:48 +02:00
Muyao CHEN
33e9d1e613 Context: use timeout in JSON writer 2024-09-16 11:13:40 +02:00
Muyao CHEN
f804f175e0 Context: create a customized Context type.
To package the internal context and other common structs, especially
http.Request and http.ResponseWriter.

Provides helper functìons.
2024-09-15 21:38:31 +02:00