about summary refs log tree commit diff
path: root/mooh.go
diff options
context:
space:
mode:
authorFranck Cuny <franck@lumberjaph.net>2013-04-22 19:25:05 -0700
committerFranck Cuny <franck@lumberjaph.net>2013-04-22 19:25:05 -0700
commit4b0c510385a1f9b96006a8ad222b2b898c919deb (patch)
treecaff08557ab02ccf1e5e9b3707cc8f9fb575e27d /mooh.go
parentSplit only once per request the path in components. (diff)
downloadpath-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