diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-03-31 22:30:23 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-03-31 22:30:23 +0200 |
| commit | 2a68ed3d0138827f4fed8a3520f7859493da4e1b (patch) | |
| tree | 9cb12972b32952c45d920ac1c906aedc6416a8c6 /lib/Plack/Middleware/Throttle/Interval.pm | |
| parent | initial commit (diff) | |
| download | plack-middleware-throttle-2a68ed3d0138827f4fed8a3520f7859493da4e1b.tar.gz | |
import old Plack::Middleware::APIRateLimit (renamed as miyagawa's suggestion) and stole API from rack::throttle
Diffstat (limited to '')
| -rw-r--r-- | lib/Plack/Middleware/Throttle/Interval.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Plack/Middleware/Throttle/Interval.pm b/lib/Plack/Middleware/Throttle/Interval.pm new file mode 100644 index 0000000..cbe7d59 --- /dev/null +++ b/lib/Plack/Middleware/Throttle/Interval.pm @@ -0,0 +1,12 @@ +package Plack::Middleware::Throttle::Interval; + +use Moose; +extends 'Plack::Middleware::Throttle'; + +sub allowed { +} + +sub cache_key { +} + +1; |
