echo
echo copied to clipboard
High performance, minimalist Go web framework
Echo’s router doesn’t set `http.Request.Pattern`. Helps OpenTelemetry (`http.route`) and aligns with `net/http`. Related: open-telemetry/opentelemetry-go-contrib#6980. Also related: https://github.com/golang/go/issues/66405#issuecomment-2113163518
`extractIP` may return empty IP if `RemoteAddr` has no port ( `SplitHostPort` fallback suggestion)
The extractIP function currently uses [net.SplitHostPort](https://cs.opensource.google/go/go/+/refs/tags/go1.24.1:src/net/ipsock.go;l=165-218) to parse `http.Request.RemoteAddr` and extract the IP address. This works well when `RemoteAddr` is in the form "host:port", but SplitHostPort returns an error (and...
Update to install and with version.
We’ve encountered an issue where multiple unexpected responses are returned when using the Timeout middleware on a single handler. Example code: ```go package main import ( "net/http" "time" "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware"...
Hi, I am using the Echo framework in Golang to serve HTML templates, but I have an issue where the title updates correctly. However, the content remains the same for...
For issue #2694 - Added parser for the "Forwarded" header to extract the "for" field. - Implemented real IP extraction from the "Forwarded" headers. - Added unit tests to validate...
I cannot find any mention of the [ContextTimeout middleware](https://github.com/labstack/echo/blob/master/middleware/context_timeout.go) in the documentation. At the same time, a number of issues as well as the [Timeout middleware source code](https://github.com/labstack/echo/blob/master/middleware/timeout.go) warns against...
I'm trying to bind form data to nested structs, but I'm not sure if I'm doing it correctly. Is there a recommended way to handle form binding with nested structs...
I am trying to parse the following ```go type NewEmail struct { From mail.Address `form:"from"` // ... } ``` with ```go // In handler if err := c.Bind(dtoPtr); err !=...