move csrf middleware example

Former-commit-id: 5dbe3affead73a97b5313b9f7c00e88470aba24d
This commit is contained in:
kataras 2017-11-21 11:38:55 +02:00
parent 1a595d4ece
commit 8d659d3589
4 changed files with 12 additions and 12 deletions

View File

@ -26,7 +26,7 @@ Go ahead to the [README.md](README.md) and read how you can reproduce the benchm
### Native
| Name | Throughput | Reqs/sec | Latency | Time To Complete | Total Requests |
|-------|:-----------|:--------|:-------------|---------|------|------|
|-------|:-----------|:--------|:-------------|---------|------|
| Iris | **29.31MB/s** | 157628 | 791.58us | 6s | 1000000 |
| Kestrel | **25.28MB/s** | 139642 | 0.89ms | 7s | 1000000 |
| Node.js | **13.69MB/s** | 50907 | 2.45ms | 19s | 1000000 |

View File

@ -309,19 +309,19 @@ You can serve [quicktemplate](https://github.com/valyala/quicktemplate) files to
- [Profiling (pprof)](miscellaneous/pprof/main.go)
- [Internal Application File Logger](miscellaneous/file-logger/main.go)
- [Google reCAPTCHA](miscellaneous/recaptcha/main.go)
- [Cross-Site Request Forgery Protection](miscellaneous/csrf/main.go)
### Experimental Handlers
* [Casbin wrapper](experimental-handlers/casbin/wrapper/main.go)
* [Casbin middleware](experimental-handlers/casbin/middleware/main.go)
* [Cloudwatch](experimental-handlers/cloudwatch/simple/main.go)
* [CORS](experimental-handlers/cors/simple/main.go)
* [JWT](experimental-handlers/jwt/main.go)
* [Newrelic](experimental-handlers/newrelic/simple/main.go)
* [Prometheus](experimental-handlers/prometheus/simple/main.go)
* [Secure](experimental-handlers/secure/simple/main.go)
* [Tollboothic](experimental-handlers/tollboothic/limit-handler/main.go)
- [Casbin wrapper](experimental-handlers/casbin/wrapper/main.go)
- [Casbin middleware](experimental-handlers/casbin/middleware/main.go)
- [Cloudwatch](experimental-handlers/cloudwatch/simple/main.go)
- [CORS](experimental-handlers/cors/simple/main.go)
- [JWT](experimental-handlers/jwt/main.go)
- [Newrelic](experimental-handlers/newrelic/simple/main.go)
- [Prometheus](experimental-handlers/prometheus/simple/main.go)
- [Secure](experimental-handlers/secure/simple/main.go)
- [Tollboothic](experimental-handlers/tollboothic/limit-handler/main.go)
- [Cross-Site Request Forgery Protection](experimental-handlers/csrf/main.go)
#### More