1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-12 01:22:21 +02:00

Update README.md

This commit is contained in:
Vishal Rana 2015-03-30 07:43:09 -07:00
parent 8b800e12a2
commit 01ff47d32c

View File

@ -3,7 +3,7 @@ Echo is a fast HTTP router (zero memory allocation) + micro web framework in Go.
### Features ### Features
- Zippy router. - Zippy router.
- Extensible middleware / handler, supports: - Extensible middleware/handler, supports:
- Middleware - Middleware
- `func(*echo.Context)` - `func(*echo.Context)`
- `func(echo.HandlerFunc) echo.HandlerFunc` - `func(echo.HandlerFunc) echo.HandlerFunc`
@ -16,6 +16,7 @@ Echo is a fast HTTP router (zero memory allocation) + micro web framework in Go.
- `http.Handler` - `http.Handler`
- `http.HandlerFunc` - `http.HandlerFunc`
- `func(http.ResponseWriter, *http.Request)` - `func(http.ResponseWriter, *http.Request)`
- Handy encoding/decoding functions.
- Serve static files, including index. - Serve static files, including index.
### Installatioin ### Installatioin
@ -109,7 +110,7 @@ func main() {
``` ```
### Benchmark ### Benchmark
Based on [julienschmidt/go-http-routing-benchmark] (https://github.com/vishr/go-http-routing-benchmark) Based on [julienschmidt/go-http-routing-benchmark] (https://github.com/vishr/go-http-routing-benchmark), March 25, 2015
##### [GitHub API](http://developer.github.com/v3) ##### [GitHub API](http://developer.github.com/v3)
``` ```
BenchmarkAce_GithubAll 20000 70318 ns/op 13792 B/op 167 allocs/op BenchmarkAce_GithubAll 20000 70318 ns/op 13792 B/op 167 allocs/op