{"id":15187332,"url":"https://github.com/cr-mao/lori","last_synced_at":"2026-03-02T08:03:16.563Z","repository":{"id":164388936,"uuid":"639478166","full_name":"cr-mao/lori","owner":"cr-mao","description":"lori 是一款基于golang的分布式web服务器框架","archived":false,"fork":false,"pushed_at":"2024-02-21T01:29:27.000Z","size":348,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T08:25:13.913Z","etag":null,"topics":["gin","golang","grpc","grpc-server","http-server","micro-framework","micro-service"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cr-mao.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":"2023-05-11T14:30:07.000Z","updated_at":"2024-08-30T02:54:33.000Z","dependencies_parsed_at":"2024-06-21T16:26:29.915Z","dependency_job_id":"5dfc55d5-4e02-4692-b504-9adbc9525400","html_url":"https://github.com/cr-mao/lori","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cr-mao/lori","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr-mao%2Flori","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr-mao%2Flori/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr-mao%2Flori/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr-mao%2Flori/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cr-mao","download_url":"https://codeload.github.com/cr-mao/lori/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr-mao%2Flori/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29995910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":["gin","golang","grpc","grpc-server","http-server","micro-framework","micro-service"],"created_at":"2024-09-27T18:20:21.017Z","updated_at":"2026-03-02T08:03:12.189Z","avatar_url":"https://github.com/cr-mao.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lori \n\n[![Build Status](https://github.com/cr-mao/lori/workflows/Go/badge.svg)](https://github.com/cr-mao/lori/actions)\n[![Go Reference](https://pkg.go.dev/badge/github.com/cr-mao/lori.svg)](https://pkg.go.dev/github.com/cr-mao/lori)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n### 1.介绍\nlori 是一款基于golang的分布式web服务器框架,目标是快速构建服务。 \n- http server 基于gin \n- grpc server  \n- grpc client \n\n\n### 2.安装\n```shell\ngo get github.com/cr-mao/lori@v0.0.3\n```\n\n\n### 3.组件\n- 服务注册发现 \n  - consul \n  - 其他可自行实现接口进行扩充\n- 指标监控 prometheus\n  - 内置请求耗时Histogram中间件\n  - 其他指标收集，可自行实现接口扩充\n- 日志  \n  - zap\n\n### 4. 如何使用\n见example目录\n\n### 5. 参考\n- [due](https://github.com/dobyte/due)\n- [kratos](https://github.com/go-kratos/kratos)\n- [iam极客时间go语言项目实战](https://github.com/marmotedu/iam)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcr-mao%2Flori","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcr-mao%2Flori","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcr-mao%2Flori/lists"}