{"id":37087292,"url":"https://github.com/raphael/echo","last_synced_at":"2026-01-14T10:44:33.778Z","repository":{"id":30811666,"uuid":"34368822","full_name":"raphael/echo","owner":"raphael","description":"Fast HTTP router and micro web framework","archived":false,"fork":true,"pushed_at":"2015-04-21T06:25:07.000Z","size":702,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T12:48:47.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://labstack.github.io/echo","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"labstack/echo","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphael.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-22T04:36:04.000Z","updated_at":"2015-04-22T04:36:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/raphael/echo","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/raphael/echo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphael%2Fecho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphael%2Fecho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphael%2Fecho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphael%2Fecho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphael","download_url":"https://codeload.github.com/raphael/echo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphael%2Fecho/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:25:19.714Z","status":"ssl_error","status_checked_at":"2026-01-14T10:22:49.371Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-14T10:44:33.064Z","updated_at":"2026-01-14T10:44:33.770Z","avatar_url":"https://github.com/raphael.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Echo [![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/labstack/echo) [![Build Status](http://img.shields.io/travis/labstack/echo.svg?style=flat-square)](https://travis-ci.org/labstack/echo) [![Coverage Status](http://img.shields.io/coveralls/labstack/echo.svg?style=flat-square)](https://coveralls.io/r/labstack/echo)\nEcho is a fast HTTP router (zero memory allocation) and micro web framework in Go.\n\n## Features\n\n- Fast :rocket: HTTP router which smartly resolves conflicting routes.\n- Fast router which smartly resolves conflicting routes.\n- Extensible middleware/handler, supports:\n\t- Middleware\n\t\t- `func(*echo.Context)`\n\t\t- `func(*echo.Context) error`\n\t\t- `func(echo.HandlerFunc) echo.HandlerFunc`\n\t\t- `func(http.Handler) http.Handler`\n\t\t- `http.Handler`\n\t\t- `http.HandlerFunc`\n\t\t- `func(http.ResponseWriter, *http.Request)`\n\t\t- `func(http.ResponseWriter, *http.Request) error`\n\t- Handler\n\t\t- `func(*echo.Context)`\n\t\t- `func(*echo.Context) error`\n\t\t- `http.Handler`\n\t\t- `http.HandlerFunc`\n\t\t- `func(http.ResponseWriter, *http.Request)`\n\t\t- `func(http.ResponseWriter, *http.Request) error`\n- Sub routing with groups.\n- Handy encoding/decoding functions.\n- Serve static files, including index.\n- Centralized HTTP error handling.\n- Use a customized function to bind request body to a Go type.\n- Register a view render so you can use any HTML templating engine.\n\n## Benchmark\n\nBased on [julienschmidt/go-http-routing-benchmark] (https://github.com/vishr/go-http-routing-benchmark), April 1, 2015\n\n##### [GitHub API](http://developer.github.com/v3)\n\n\u003e Echo: 42728 ns/op, 0 B/op, 0 allocs/op\n\n```\nBenchmarkAce_GithubAll\t   \t   20000\t     65328 ns/op\t   13792 B/op\t     167 allocs/op\nBenchmarkBear_GithubAll\t   \t   10000\t    241852 ns/op\t   79952 B/op\t     943 allocs/op\nBenchmarkBeego_GithubAll\t    3000\t    458234 ns/op\t  146272 B/op\t    2092 allocs/op\nBenchmarkBone_GithubAll\t    \t1000\t   1923508 ns/op\t  648016 B/op\t    8119 allocs/op\nBenchmarkDenco_GithubAll\t   20000\t     81294 ns/op\t   20224 B/op\t     167 allocs/op\nBenchmarkEcho_GithubAll\t   \t   30000\t     42728 ns/op\t       0 B/op\t       0 allocs/op\nBenchmarkGin_GithubAll\t   \t   20000\t     69373 ns/op\t   13792 B/op\t     167 allocs/op\nBenchmarkGocraftWeb_GithubAll  10000\t    370978 ns/op\t  133280 B/op\t    1889 allocs/op\nBenchmarkGoji_GithubAll\t    \t3000\t    542766 ns/op\t   56113 B/op\t     334 allocs/op\nBenchmarkGoJsonRest_GithubAll\t5000\t    452551 ns/op\t  135995 B/op\t    2940 allocs/op\nBenchmarkGoRestful_GithubAll\t 200\t   9500204 ns/op\t  707604 B/op\t    7558 allocs/op\nBenchmarkGorillaMux_GithubAll\t 200\t   6770545 ns/op\t  153137 B/op\t    1791 allocs/op\nBenchmarkHttpRouter_GithubAll  30000\t     56097 ns/op\t   13792 B/op\t     167 allocs/op\nBenchmarkHttpTreeMux_GithubAll 10000\t    143175 ns/op\t   56112 B/op\t     334 allocs/op\nBenchmarkKocha_GithubAll\t   10000\t    147959 ns/op\t   23304 B/op\t     843 allocs/op\nBenchmarkMacaron_GithubAll\t    2000\t    724650 ns/op\t  224960 B/op\t    2315 allocs/op\nBenchmarkMartini_GithubAll\t     100\t  10926021 ns/op\t  237953 B/op\t    2686 allocs/op\nBenchmarkPat_GithubAll\t     \t 300\t   4525114 ns/op\t 1504101 B/op\t   32222 allocs/op\nBenchmarkRevel_GithubAll\t    2000\t   1172963 ns/op\t  345553 B/op\t    5918 allocs/op\nBenchmarkRivet_GithubAll\t   10000\t    249104 ns/op\t   84272 B/op\t    1079 allocs/op\nBenchmarkTango_GithubAll\t     300\t   4012826 ns/op\t 1368581 B/op\t   29157 allocs/op\nBenchmarkTigerTonic_GithubAll\t2000\t    975450 ns/op\t  241088 B/op\t    6052 allocs/op\nBenchmarkTraffic_GithubAll\t     200\t   7540377 ns/op\t 2664762 B/op\t   22390 allocs/op\nBenchmarkVulcan_GithubAll\t    5000\t    307241 ns/op\t   19894 B/op\t     609 allocs/op\nBenchmarkZeus_GithubAll\t        2000\t    752907 ns/op\t  300688 B/op\t    2648 allocs/op\n```\n\n## Installation\n\n- [Go](https://golang.org/doc/install) \u003e 1.4.x\n- ```go get github.com/labstack/echo```\n\n##[Examples](https://github.com/labstack/echo/tree/master/examples)\n\n\u003e Hello, World!\n\n```go\npackage main\n\nimport (\n\t\"net/http\"\n\n\t\"github.com/labstack/echo\"\n\tmw \"github.com/labstack/echo/middleware\"\n)\n\n// Handler\nfunc hello(c *echo.Context) {\n\tc.String(http.StatusOK, \"Hello, World!\\n\")\n}\n\nfunc main() {\n\te := echo.New()\n\n\t// Middleware\n\te.Use(mw.Logger)\n\n\t// Routes\n\te.Get(\"/\", hello)\n\n\t// Start server\n\te.Run(\":4444\")\n}\n```\n## License\n\n[MIT](https://github.com/labstack/echo/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphael%2Fecho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphael%2Fecho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphael%2Fecho/lists"}