Commit Graph

21 Commits

Author SHA1 Message Date
d5c2c1ddf2 Move to nolwn account. 2021-07-19 21:13:03 -07:00
19d616162f Fix messed up default 404. 2020-12-15 00:38:09 -08:00
05f90673c5 Clean unneeded Handle function. 2020-12-14 23:55:23 -08:00
0a6b9b2d0a ServeHTTP cannot take a pointer receiver 2020-12-13 23:26:09 -08:00
ee0bb08b57 Store path params in request context. 2020-12-13 22:57:01 -08:00
ac8a5ff56e Make Handler exported. 2020-12-09 23:33:48 -08:00
3e7625bbeb PathParams not a method on router 2020-12-09 22:44:50 -08:00
df7e3ccc03 Use request contex 2020-12-09 22:34:43 -08:00
1805ac77fe Add PathParams method. 2020-12-06 22:32:39 -08:00
48158bb7a2 Add matching routes with path parameters. 2020-11-22 20:55:18 -08:00
bf16415594 Save path segments that start with a : as variables 2020-11-22 19:12:27 -08:00
5a002e8f9b code cleanup. 2020-11-22 18:31:29 -08:00
b6c2ec539c Removed logs 2020-09-07 17:47:03 -07:00
ee2c5be3e6 Log out req path 2020-09-07 16:12:54 -07:00
717a1d9130 Add message to 404 Handler, add logging messages. 2020-09-07 16:06:58 -07:00
7baa7dec49 Setup ServeHTTP on router. 2020-09-07 15:25:36 -07:00
305d3097fe Add tests for get handler. 2020-09-07 12:58:53 -07:00
f2d590df07 Add Handle for getting a route based on a path and method. 2020-09-01 22:05:55 -07:00
a791b26248 Add route working correctly, callbacks worked into method map. 2020-09-01 19:16:08 -07:00
d240fa1b0c (WIP) AddRoute creates tree for looking up routes. Needs to be restructured. 2020-08-30 21:38:13 -07:00
01852dbaf5 Initial commit -- Router and add AddRoute method and tests. 2020-08-30 16:29:15 -07:00