|
11 | 11 |
|
12 | 12 | ## Supported Go versions
|
13 | 13 |
|
14 |
| -Latest version of Echo supports last four Go major [releases](https://go.dev/doc/devel/release) and might work with older versions. |
| 14 | +Latest version of Echo supports last four Go major [releases](https://go.dev/doc/devel/release) and might work with |
| 15 | +older versions. |
15 | 16 |
|
16 | 17 | As of version 4.0.0, Echo is available as a [Go module](https://github.com/golang/go/wiki/Modules).
|
17 | 18 | Therefore a Go version capable of understanding /vN suffixed imports is required:
|
18 | 19 |
|
19 |
| - |
20 | 20 | Any of these versions will allow you to import Echo as `github.com/labstack/echo/v4` which is the recommended
|
21 | 21 | way of using Echo going forward.
|
22 | 22 |
|
@@ -90,18 +90,29 @@ func hello(c echo.Context) error {
|
90 | 90 | }
|
91 | 91 | ```
|
92 | 92 |
|
93 |
| -# Third-party middlewares |
94 |
| - |
95 |
| -| Repository | Description | |
96 |
| -|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
97 |
| -| [github.com/labstack/echo-contrib](https://github.com/labstack/echo-contrib) | (by Echo team) [casbin](https://github.com/casbin/casbin), [gorilla/sessions](https://github.com/gorilla/sessions), [jaegertracing](github.com/uber/jaeger-client-go), [prometheus](https://github.com/prometheus/client_golang/), [pprof](https://pkg.go.dev/net/http/pprof), [zipkin](https://github.com/openzipkin/zipkin-go) middlewares | |
98 |
| -| [deepmap/oapi-codegen](https://github.com/deepmap/oapi-codegen) | Automatically generate RESTful API documentation with [OpenAPI](https://swagger.io/specification/) Client and Server Code Generator | |
99 |
| -| [github.com/swaggo/echo-swagger](https://github.com/swaggo/echo-swagger) | Automatically generate RESTful API documentation with [Swagger](https://swagger.io/) 2.0. | |
100 |
| -| [github.com/ziflex/lecho](https://github.com/ziflex/lecho) | [Zerolog](https://github.com/rs/zerolog) logging library wrapper for Echo logger interface. | |
101 |
| -| [github.com/brpaz/echozap](https://github.com/brpaz/echozap) | Uber´s [Zap](https://github.com/uber-go/zap) logging library wrapper for Echo logger interface. | |
102 |
| -| [github.com/darkweak/souin/plugins/echo](https://github.com/darkweak/souin/tree/master/plugins/echo) | HTTP cache system based on [Souin](https://github.com/darkweak/souin) to automatically get your endpoints cached. It supports some distributed and non-distributed storage systems depending your needs. | |
103 |
| -| [github.com/mikestefanello/pagoda](https://github.com/mikestefanello/pagoda) | Rapid, easy full-stack web development starter kit built with Echo. | |
104 |
| -| [github.com/go-woo/protoc-gen-echo](https://github.com/go-woo/protoc-gen-echo) | ProtoBuf generate Echo server side code | |
| 93 | +# Official middleware repositories |
| 94 | + |
| 95 | +Following list of middleware is maintained by Echo team. |
| 96 | + |
| 97 | +| Repository | Description | |
| 98 | +|------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 99 | +| [github.com/labstack/echo-jwt](https://github.com/labstack/echo-jwt) | [JWT](https://github.com/golang-jwt/jwt) middleware | |
| 100 | +| [github.com/labstack/echo-contrib](https://github.com/labstack/echo-contrib) | [casbin](https://github.com/casbin/casbin), [gorilla/sessions](https://github.com/gorilla/sessions), [jaegertracing](github.com/uber/jaeger-client-go), [prometheus](https://github.com/prometheus/client_golang/), [pprof](https://pkg.go.dev/net/http/pprof), [zipkin](https://github.com/openzipkin/zipkin-go) middlewares | |
| 101 | + |
| 102 | +# Third-party middleware repositories |
| 103 | + |
| 104 | +Be careful when adding 3rd party middleware. Echo teams does not have time or manpower to guarantee safety and quality |
| 105 | +of middlewares in this list. |
| 106 | + |
| 107 | +| Repository | Description | |
| 108 | +|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 109 | +| [deepmap/oapi-codegen](https://github.com/deepmap/oapi-codegen) | Automatically generate RESTful API documentation with [OpenAPI](https://swagger.io/specification/) Client and Server Code Generator | |
| 110 | +| [github.com/swaggo/echo-swagger](https://github.com/swaggo/echo-swagger) | Automatically generate RESTful API documentation with [Swagger](https://swagger.io/) 2.0. | |
| 111 | +| [github.com/ziflex/lecho](https://github.com/ziflex/lecho) | [Zerolog](https://github.com/rs/zerolog) logging library wrapper for Echo logger interface. | |
| 112 | +| [github.com/brpaz/echozap](https://github.com/brpaz/echozap) | Uber´s [Zap](https://github.com/uber-go/zap) logging library wrapper for Echo logger interface. | |
| 113 | +| [github.com/darkweak/souin/plugins/echo](https://github.com/darkweak/souin/tree/master/plugins/echo) | HTTP cache system based on [Souin](https://github.com/darkweak/souin) to automatically get your endpoints cached. It supports some distributed and non-distributed storage systems depending your needs. | |
| 114 | +| [github.com/mikestefanello/pagoda](https://github.com/mikestefanello/pagoda) | Rapid, easy full-stack web development starter kit built with Echo. | |
| 115 | +| [github.com/go-woo/protoc-gen-echo](https://github.com/go-woo/protoc-gen-echo) | ProtoBuf generate Echo server side code | |
105 | 116 |
|
106 | 117 | Please send a PR to add your own library here.
|
107 | 118 |
|
|
0 commit comments