1
0
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:
Gerasimos (Makis) Maropoulos
2020-05-04 07:03:44 +03:00
parent 37251c6b00
commit 2442915e08
2 changed files with 15 additions and 12 deletions

View File

@@ -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")
}