nodebus cfgcenter从http迁移到ipc通信
cfgcenter migrated from http to ipc · runoneall/nodebus@3888a60
代码量可以说是大幅减小了,我封装了一个适用于 nodebus 的 ipc 服务端和客户端(稍微改改就可以集成到你自己的项目中)
nodebus/ipc at main · runoneall/nodebus
使用示例:
服务端: nodebus/fns/CfgCenterServer.go at main · runoneall/nodebus
客户端: nodebus/fns/PersistentPreRun.go at main · runoneall/nodebus
以及一些代码结构调整