{"id":20381955,"url":"https://github.com/wangxuangege/route-v1","last_synced_at":"2026-05-02T08:32:03.409Z","repository":{"id":104548700,"uuid":"136153138","full_name":"wangxuangege/route-v1","owner":"wangxuangege","description":"[@deprecated 废弃] nginx+lua实现7层代理路由分流","archived":false,"fork":false,"pushed_at":"2018-06-12T04:13:39.000Z","size":1685,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T22:41:47.681Z","etag":null,"topics":["bootstrap","lua","nginx"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/wangxuangege.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":"2018-06-05T09:26:31.000Z","updated_at":"2019-02-24T07:26:39.000Z","dependencies_parsed_at":"2023-07-13T15:45:23.086Z","dependency_job_id":null,"html_url":"https://github.com/wangxuangege/route-v1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wangxuangege/route-v1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxuangege%2Froute-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxuangege%2Froute-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxuangege%2Froute-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxuangege%2Froute-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangxuangege","download_url":"https://codeload.github.com/wangxuangege/route-v1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangxuangege%2Froute-v1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32528204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bootstrap","lua","nginx"],"created_at":"2024-11-15T02:15:58.352Z","updated_at":"2026-05-02T08:32:03.385Z","avatar_url":"https://github.com/wangxuangege.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"route代码结构\n=========================================================\n\n### 1. db\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;路由规则创建表sql。\n\n### 2. [quickstart](quickstart/README.md)\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;如何搭建一个最简单的路由架构的平台，包括入口网关配置+应用网关配置+路由规则管理后台配置。\n\n### 3. route-admin\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;路由规则后台管理平台，由bootstrap模板+lua后台逻辑搭建，其中lua后台逻辑在src/admin下面。\n\n### 4. src\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;路由系统核心逻辑包括：1）路由计算逻辑；2）路由规则配置管理逻辑。\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;详细代码结构如下：\n* src\n    * __test 单元测试\n    * admin 路由规则后台管理平台\n        * Admin 路由规则后台管理入口\n        * 其他 支持的操作命令\n    * constant\n        * Config 系统配置\n        * Constant 系统常量\n        * ErrCode 错误码\n    * respository 数据层服务\n    * route\n        * Route 路由计算逻辑入口\n        * RouteContext 路由计算上下文对象\n    * rule 路由规则\n    * util 工具类相关","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangxuangege%2Froute-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangxuangege%2Froute-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangxuangege%2Froute-v1/lists"}