File tree Expand file tree Collapse file tree 4 files changed +13
-10
lines changed
transport/rpcx/internal/server Expand file tree Collapse file tree 4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 3434### 3.功能
3535
3636* 网关:支持tcp、kcp、ws等协议的网关服务器。
37- * 日志:支持std、zap、logrus 、aliyun、tencent等多种日志组件。
37+ * 日志:支持console、file 、aliyun、tencent等多种日志组件。
3838* 注册:支持consul、etcd、nacos等多种服务注册中心。
3939* 协议:支持json、protobuf、msgpack等多种通信协议。
4040* 配置:支持consul、etcd、nacos等多种配置中心;并支持json、yaml、toml、xml等多种文件格式。
5252
5353### 4.下一期新功能规划
5454
55- * 高性能日志库
55+ * 分布式任务调度系统
5656
5757### 5.特殊说明
5858
@@ -653,8 +653,8 @@ throughput (TPS) : 128969
653653 * consul: github.com/dobyte/due/registry/consul/v2
654654 * nacos: github.com/dobyte/due/registry/nacos/v2
6556554 . 传输组件
656- * grpc: github.com/dobyte/due/transporter /grpc/v2
657- * rpcx: github.com/dobyte/due/transporter /rpcx/v2
656+ * grpc: github.com/dobyte/due/transport /grpc/v2
657+ * rpcx: github.com/dobyte/due/transport /rpcx/v2
6586585 . 定位组件
659659 * redis: github.com/dobyte/due/locate/redis/v2
6606606 . 事件总线
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const (
2727 leftBottomBorder = "└"
2828 rightBottomBorder = "┘"
2929 website = "https://github.com/dobyte/due"
30- version = "v2.3.2 "
30+ version = "v2.3.3 "
3131 global = "Global"
3232)
3333
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ func SetLogger(logger Logger) {
1212 return
1313 }
1414
15+ if globalLogger != nil {
16+ globalLogger .Close ()
17+ }
18+
1519 globalLogger = logger
1620}
1721
Original file line number Diff line number Diff line change @@ -12,11 +12,10 @@ import (
1212const scheme = "rpcx"
1313
1414type Server struct {
15- listenAddr string
16- exposeAddr string
17- server * server.Server
18- endpoint * endpoint.Endpoint
19- disabledServices []string
15+ listenAddr string
16+ exposeAddr string
17+ server * server.Server
18+ endpoint * endpoint.Endpoint
2019}
2120
2221type Options struct {
You can’t perform that action at this time.
0 commit comments