{"id":16767840,"url":"https://github.com/eolinker/eosc","last_synced_at":"2025-03-17T02:31:28.310Z","repository":{"id":41155346,"uuid":"387427696","full_name":"eolinker/eosc","owner":"eolinker","description":"Eosc is a high performance middleware development framework","archived":false,"fork":false,"pushed_at":"2025-03-10T06:10:59.000Z","size":47203,"stargazers_count":26,"open_issues_count":0,"forks_count":16,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-10T07:22:48.653Z","etag":null,"topics":["cli","driver","servicemesh"],"latest_commit_sha":null,"homepage":"","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/eolinker.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-19T10:37:54.000Z","updated_at":"2025-03-10T06:10:31.000Z","dependencies_parsed_at":"2024-05-06T12:00:07.425Z","dependency_job_id":"05062b63-58fa-4e55-bb8d-431e6ee6f675","html_url":"https://github.com/eolinker/eosc","commit_stats":null,"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eolinker%2Feosc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eolinker%2Feosc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eolinker%2Feosc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eolinker%2Feosc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eolinker","download_url":"https://codeload.github.com/eolinker/eosc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243837011,"owners_count":20355813,"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":["cli","driver","servicemesh"],"created_at":"2024-10-13T06:10:03.353Z","updated_at":"2025-03-17T02:31:27.964Z","avatar_url":"https://github.com/eolinker.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 架构\n\n![image](https://user-images.githubusercontent.com/25589530/129505228-121923df-e4d0-4fa6-b216-4e815a5b8dbb.png)\n\n# 抽象概念\n\n## profession\n\nprofession:职业,定义抽象分类\n\n1. profession定义名是唯一的,在框架中等于常量,不区分大小写, 只能用 字母、数字、下划线\n    * 例如: upstream,service,router,plugin\n1. profession 定义列表字段,以及列表默认值\n1. 所有的配置项目都是profession实例,实例必须具有如下属性\n    * id: uuid,全局唯一\n    * name: name, 同profession内唯一\n    * driver: 实现该实例的驱动名\n1. profession 实例需要实现销毁方法,框架会检查依赖关系并中断销毁\n\n目前已知可能有的 profession 定义有\n\n* upstream\n* service\n* router\n* service discovery\n* auth\n\n### driver\n\ndriver:驱动,定义一个profession并实现能力\n\n1. driver需要定义一个render 给 admin ui 处理界面\n1. driver 实现检查 profession 的属性\n1. driver 实现通过 profession 的属性实例话运行的实例并完成运行状态的\n1. profession 实例的能力和属性由driver来定义\n1. driver 声明一个能力清单, 在实例依赖另一个实例时,通过查询对方能力来决定是否可用,并在执行时使用该能力\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feolinker%2Feosc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feolinker%2Feosc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feolinker%2Feosc/lists"}