{"id":20213655,"url":"https://github.com/go-spring-lab/spring-echo","last_synced_at":"2025-09-22T01:31:07.744Z","repository":{"id":48518021,"uuid":"286021186","full_name":"go-spring/spring-echo","owner":"go-spring","description":"「仅发布」echo 封装 ( wrapper for echo )","archived":false,"fork":false,"pushed_at":"2022-10-09T09:38:12.000Z","size":1564,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T06:10:37.253Z","etag":null,"topics":["echo","go-spring","web"],"latest_commit_sha":null,"homepage":"https://go-spring.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/go-spring.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":"2020-08-08T10:23:58.000Z","updated_at":"2022-01-19T01:54:56.000Z","dependencies_parsed_at":"2022-09-07T16:41:18.413Z","dependency_job_id":null,"html_url":"https://github.com/go-spring/spring-echo","commit_stats":null,"previous_names":["go-spring/go-spring-echo"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fspring-echo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fspring-echo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fspring-echo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fspring-echo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-spring","download_url":"https://codeload.github.com/go-spring/spring-echo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233814447,"owners_count":18734529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["echo","go-spring","web"],"created_at":"2024-11-14T06:10:42.501Z","updated_at":"2025-09-22T01:31:05.856Z","avatar_url":"https://github.com/go-spring.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-echo\n\n[仅发布] 该项目仅为最终发布，开发请关注 [go-spring](https://github.com/go-spring/go-spring) 项目。\n\n封装 github.com/labstack/echo/v4 实现的 Web 框架。\n\n- [创建 Web 容器](#创建-web-容器)\n    - [NewContainer](#newcontainer)\n- [适配 echo 框架](#适配-echo-框架)\n    - [Handler](#handler)\n    - [Filter](#filter)\n    - [EchoContext](#echocontext)\n    - [WebContext](#webcontext)\n\n### 创建 Web 容器\n\n#### NewContainer\n\n创建 echo 实现的 Web 容器。\n\n    func NewContainer(config SpringWeb.ContainerConfig) *Container {}\n\n### 适配 echo 框架\n\n#### Handler\n\n适配 echo 形式的处理函数。\n\n    func Handler(fn echo.HandlerFunc) SpringWeb.Handler {}\n\n#### Filter\n\n适配 echo 形式的中间件函数。\n\n    func Filter(fn echo.MiddlewareFunc) SpringWeb.Filter {}\n\n#### EchoContext\n\n将 SpringWeb.Context 转换为 echo.Context。\n\n    func EchoContext(ctx SpringWeb.Context) echo.Context {}\n\n#### WebContext\n\n将 echo.Context 转换为 SpringWeb.Context。\n\n    func WebContext(echoCtx echo.Context) SpringWeb.Context {}","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-spring-lab%2Fspring-echo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-spring-lab%2Fspring-echo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-spring-lab%2Fspring-echo/lists"}