api-gateway

所属分类:网络编程
开发工具:Java
文件大小:0KB
下载次数:0
上传日期:2024-02-21 14:53:14
上 传 者sh-1993
说明:  多功能网关项目(配置中心+注册中心+netty实现)具有动态转发,灵活配置,权限过滤,路由断言,负载均衡,限流等功能)
(The multi-functional gateway project (configuration center+registry+netty implementation) has the functions of dynamic forwarding, flexible configuration, permission filtering, route assertion, load balancing, flow limiting, etc.))

文件列表:
assets/
backend-dubbo-server/
backend-http-server/
gateway-client/
gateway-common/
gateway-config-center/
gateway-core/
gateway-register-center/
pom.xml

### 网关设计 ![gateway](https://github.com/guohaichen/api-gateway/blob/master/./assets/gateway.jpg) ### 网关模块介绍 | 模块 | 介绍 | | ------------------------------------------------------------ | ------------------------------------------------------------ | | [backend-dubbo-server](https://github.com/guohaichen/api-gateway/blob/master/https://github.com/guohaichen/api-gateway/tree/main/backend-dubbo-server) | 后端 dubbo 服务提供者,http 访问,api-gateway 泛化调用 dubbo 服务返回响应;*待完善更新,泛化调用中的参数未解析* | | [backend-http-server](https://github.com/guohaichen/api-gateway/blob/master/https://github.com/guohaichen/api-gateway/tree/main/backend-http-server) | 后端 http 服务提供者; | | [gateway-client](https://github.com/guohaichen/api-gateway/blob/master/https://github.com/guohaichen/api-gateway/tree/main/gateway-client) | 服务提供者引入该包,定义了核心注解,扫描服务提供端[http,dubbo]的方法并**注册**到注册中心和配置中心; | | [gateway-common](https://github.com/guohaichen/api-gateway/blob/master/https://github.com/guohaichen/api-gateway/tree/main/gateway-common) | 公共包,定义配置**规则 Rule**,**服务定义 ServiceDefinition**,**服务实例 ServiceInstance**,常量,响应状态码,异常状态码,工具类等; | | [gateway-config-center](https://github.com/guohaichen/api-gateway/blob/master/https://github.com/guohaichen/api-gateway/tree/main/gateway-config-center) | 配置中心实现,支持 nacos, zookeeper; | | [gateway-core](https://github.com/guohaichen/api-gateway/blob/master/https://github.com/guohaichen/api-gateway/tree/main/gateway-core) | 核心包,构建 netty 服务,过滤器工厂对消息流转负载均衡下发,限流,验证,路由等; | | [gateway-register-center](https://github.com/guohaichen/api-gateway/blob/master/https://github.com/guohaichen/api-gateway/tree/main/gateway-register-center) | 注册中心,支持 nacos, zookeeper; |

近期下载者

相关文件


收藏者