Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-21T01:29:27.000Z (9 months ago)
- Last Synced: 2024-10-11T09:41:25.047Z (about 1 month 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
[![Build Status](https://github.com/cr-mao/lori/workflows/Go/badge.svg)](https://github.com/cr-mao/lori/actions)
[![Go Reference](https://pkg.go.dev/badge/github.com/cr-mao/lori.svg)](https://pkg.go.dev/github.com/cr-mao/lori)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)### 1.介绍
lori 是一款基于golang的分布式web服务器框架,目标是快速构建服务。
- http server 基于gin
- grpc server
- grpc client### 2.安装
```shell
go get github.com/cr-mao/[email protected]
```### 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)