mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 04:17:03 +00:00
update middleware list
Former-commit-id: f15d49cdfc6ef2368cec994a500c55a52efcc45e
This commit is contained in:
@@ -16,9 +16,10 @@ func main() {
|
||||
// * http://localhost:8080/v2/list (with X-API-Key request header)
|
||||
// Read more at: https://en.wikipedia.org/wiki/Token_bucket
|
||||
//
|
||||
// Alternative you may want to use something like:
|
||||
// https://github.com/iris-contrib/middleware/blob/master/throttler/_example/main.go
|
||||
// Read more at: https://en.wikipedia.org/wiki/Generic_cell_rate_algorithm
|
||||
// Alternatives:
|
||||
// * https://github.com/iris-contrib/middleware/blob/master/throttler/_example/main.go
|
||||
// Read more at: https://en.wikipedia.org/wiki/Generic_cell_rate_algorithm
|
||||
// * https://github.com/iris-contrib/middleware/tree/master/tollboothic/_examples/limit-handler
|
||||
app.Listen(":8080")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user