diff options
author | Franck Cuny <franck@lumberjaph.net> | 2013-04-22 19:25:05 -0700 |
---|---|---|
committer | Franck Cuny <franck@lumberjaph.net> | 2013-04-22 19:25:05 -0700 |
commit | 4b0c510385a1f9b96006a8ad222b2b898c919deb (patch) | |
tree | caff08557ab02ccf1e5e9b3707cc8f9fb575e27d /mooh.go | |
parent | Split only once per request the path in components. (diff) | |
download | path-router-4b0c510385a1f9b96006a8ad222b2b898c919deb.tar.gz |
In each route, keep a map of HTTP methods available.
By keeping a map of the HTTP methods available for a given route, we don't have to iter over a list of executors when we try to find if the request match, we can quickly check if the methos is set to true.
Diffstat (limited to 'mooh.go')
0 files changed, 0 insertions, 0 deletions