Commit graph

464 commits

Author SHA1 Message Date
Tommi Reiman
93447fdc71 coerce & compile take opts, resolved in router 2017-08-14 09:42:12 +03:00
Tommi Reiman
fa37e3e198 Initial sketch for a ring-router 2017-08-14 09:42:12 +03:00
Tommi Reiman
a208f7df6c Remove println 2017-08-14 09:42:12 +03:00
Tommi Reiman
0a58510dc2 Default compile get the :handler from meta 2017-08-13 14:40:46 +03:00
Tommi Reiman
5f1d6a61a6 Cleanup & fix perf test 2017-08-12 17:55:58 +03:00
Tommi Reiman
1835ffc681 Support route compilation (fixes #14)
* also, so docs
2017-08-12 17:50:21 +03:00
Tommi Reiman
08edbb9419 Route coercion, fixes #4 2017-08-11 16:02:08 +03:00
Tommi Reiman
69ee59cbd2 Update README, more perf-tests, cleanup
* `match` => `match-by-path`
* `by-name` = > `match-by-name`
* `lookup-router` can't be created with wildcard routes
* `match-by-name` initial perf tests
2017-08-11 08:01:34 +03:00
Tommi Reiman
a28bb2e9b6 Lot's of small improvements
* implement by-name (fixes #5)
* match-route => match
* implement routes
* by-name & match return Match-records (more info, faster to use)
* reitit.regex => reitit.impl
2017-08-10 09:47:27 +03:00
Tommi Reiman
175bb1323e Implement LookupRouter 2017-08-09 20:19:54 +03:00
Tommi Reiman
faa3c08bf0 Add stuff
* router, partially from Pedestal
* sample perf tests
* kws expand to :name
* fns expand to :handler
2017-08-08 15:31:00 +03:00
Tommi Reiman
6eecc048be replace deep-merge with meta-merge 2017-08-07 15:18:38 +03:00
Tommi Reiman
b4ceaf1318 Cleanup codes 2017-08-07 14:27:54 +03:00
Tommi Reiman
e6beae52f0 Initial commit 2017-08-07 14:15:45 +03:00