{"id":23932213,"url":"https://github.com/oldtree/apigateway","last_synced_at":"2026-05-16T09:30:51.068Z","repository":{"id":144747009,"uuid":"95959369","full_name":"oldtree/apiGateway","owner":"oldtree","description":"distribution apiGateway service ,support backend service node register","archived":false,"fork":false,"pushed_at":"2018-01-23T05:58:59.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T02:17:05.625Z","etag":null,"topics":["api-gateway","backend","go","golang","grafana","monitor","thrift"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oldtree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-01T11:09:01.000Z","updated_at":"2019-02-27T10:34:46.000Z","dependencies_parsed_at":"2024-08-18T16:32:01.140Z","dependency_job_id":null,"html_url":"https://github.com/oldtree/apiGateway","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oldtree/apiGateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldtree%2FapiGateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldtree%2FapiGateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldtree%2FapiGateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldtree%2FapiGateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oldtree","download_url":"https://codeload.github.com/oldtree/apiGateway/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldtree%2FapiGateway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33096845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["api-gateway","backend","go","golang","grafana","monitor","thrift"],"created_at":"2025-01-06T00:13:05.702Z","updated_at":"2026-05-16T09:30:51.034Z","avatar_url":"https://github.com/oldtree.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 通用api接口网关服务\n\n\u003e       1:提供一个对外部访问的统一接口服务，将内部注册的内部服务映射为根据描述规则生成restful的对外访问路由\n\u003e       2:接口信息通过json格式的文件来描述，然后通过上报后端服务的服务信息来注册到apiGateway\n\u003e       3:服务的信息通过ETCD来进行注册，同时前端的apiGateway来通过ETCD来获取所注册服务的信息加入负载均衡节点\n\u003e       或者创建新的服务\n\u003e       4:对外的路由信息都是动态注册和加载的，这样不影响其他的服务接口\n\n\n### module描述\n\n\u003e       node : 后端节点信息，负载均衡的信息来自于此\n\u003e       service : 后端服务的实际工作结构，包括后端的node列表，路由映射信息，服务的版本等信息,service描述信息和后端节点的描述信息是分离的，只在后端访问时拼接起来\n\u003e       etcdop : 与etcd节点的操作信息，以及watch机制的设置\n\u003e       route : api网关额系统服务路由，以及\b所注册后端服务的路由信息，使用了httprouter\n\n\n### roadmap\n\n\u003e       还在开发中，慎用\n\n\n### contact        \n\n\u003e       435594427@qq.com/treeui.old@gmail.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldtree%2Fapigateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foldtree%2Fapigateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldtree%2Fapigateway/lists"}