https://github.com/cr-mao/lori
lori 是一款基于golang的分布式web服务器框架
https://github.com/cr-mao/lori
gin golang grpc grpc-server http-server micro-framework micro-service
Last synced: about 1 month ago
JSON representation
lori 是一款基于golang的分布式web服务器框架
- Host: GitHub
- URL: https://github.com/cr-mao/lori
- Owner: cr-mao
- License: mit
- Created: 2023-05-11T14:30:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-21T01:29:27.000Z (about 2 years ago)
- Last Synced: 2025-02-26T08:25:13.913Z (about 1 year ago)
- Topics: gin, golang, grpc, grpc-server, http-server, micro-framework, micro-service
- Language: Go
- Homepage:
- Size: 340 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lori
[](https://github.com/cr-mao/lori/actions)
[](https://pkg.go.dev/github.com/cr-mao/lori)
[](https://opensource.org/licenses/MIT)
### 1.介绍
lori 是一款基于golang的分布式web服务器框架,目标是快速构建服务。
- http server 基于gin
- grpc server
- grpc client
### 2.安装
```shell
go get github.com/cr-mao/lori@v0.0.3
```
### 3.组件
- 服务注册发现
- consul
- 其他可自行实现接口进行扩充
- 指标监控 prometheus
- 内置请求耗时Histogram中间件
- 其他指标收集,可自行实现接口扩充
- 日志
- zap
### 4. 如何使用
见example目录
### 5. 参考
- [due](https://github.com/dobyte/due)
- [kratos](https://github.com/go-kratos/kratos)
- [iam极客时间go语言项目实战](https://github.com/marmotedu/iam)