Muyao CHEN
|
099d1aeb0f
|
request/response: add interfaces and implementations
|
2024-09-25 22:20:00 +02:00 |
|
Muyao CHEN
|
3b16d6b16a
|
middleware: refactor tests
|
2024-09-25 14:09:29 +02:00 |
|
Muyao CHEN
|
fc4103cff3
|
middleware: add tests
|
2024-09-25 13:52:12 +02:00 |
|
Muyao CHEN
|
e770731643
|
middleware: Add recovery middleware
|
2024-09-25 13:35:38 +02:00 |
|
Muyao CHEN
|
3bf14b9c04
|
middleware: Integrate middlewares into router functions
|
2024-09-25 13:31:37 +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
|
14af16c71e
|
middleware/timeout: add timeout middleware
|
2024-09-24 23:07:42 +02:00 |
|
Muyao CHEN
|
9f83bc7b58
|
go-sum: commit go sum
|
2024-09-24 23:07:13 +02:00 |
|
Muyao CHEN
|
0a5e329aa4
|
core: format
|
2024-09-24 23:06:39 +02:00 |
|
Muyao CHEN
|
0ed626e351
|
Route: Use a trie to register routes
|
2024-09-16 21:04:18 +02:00 |
|
Muyao CHEN
|
d90e564620
|
Router: add prefix group interface and implementation
|
2024-09-16 12:05:35 +02:00 |
|
Muyao CHEN
|
5cb54ae560
|
Router: add static routers
|
2024-09-16 11:39:38 +02:00 |
|
Muyao CHEN
|
913e33a993
|
Context: Test context with timeout
|
2024-09-16 11:13:40 +02:00 |
|
Muyao CHEN
|
f076ebaa3a
|
Context: hard foo controller mapping for test purpose
|
2024-09-16 11:13:40 +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 |
|
Muyao CHEN
|
63d5d0dc59
|
Add framework core type
|
2024-09-05 17:30:59 +02:00 |
|
Muyao CHEN
|
b96656a469
|
Official doc for http server
|
2024-09-05 16:23:58 +02:00 |
|
|
d97a2f3bca
|
Initial commit
|
2024-09-05 14:21:22 +00:00 |
|