Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-14 | Router improvements. | tjpcc | |
- test coverage for Router, not just PathTree - Router.Mount() now flattens routes into the parent router - Router.Use() implemented to set middleware on a router itself | |||
2023-02-02 | Mount() adds a subrouter under a prefix pattern. | tjpcc | |
...though I'm already eyeing a better approach. | |||
2023-02-02 | Initial Router work. | tjpcc | |
- Router type, supports: adding handlers, serving, fetching the matching handler for a route. - Private PathTree type handles the modified radix trie. |