brewlin / swoft-im Goto Github PK
View Code? Open in Web Editor NEW基于swoft-cloud的微服务架构,最小化拆分粒度,PHP7、多进程、协程、异步任务、mysql连接池、redi连接池、rpc连接池、服务治理、服务注册与发现、Aop切面、全注解
Home Page: http://im.brewlin.com
基于swoft-cloud的微服务架构,最小化拆分粒度,PHP7、多进程、协程、异步任务、mysql连接池、redi连接池、rpc连接池、服务治理、服务注册与发现、Aop切面、全注解
Home Page: http://im.brewlin.com
我发现你把gateway-api-cloud里面的websocket模块删除了,我现在想帮你继续开发cloud的模块,当初为啥把ws删了呢。
我打算新建一个app_key表存储引用的ak和serect 然后token必须加密算法,init的时候做对称加密。
您好,我按照您的步骤进行了安装 出现了一些问题:
对每个服务执行了composer install
然后对每个服务的配置文件进行了修改
/home/www/serviceim/gateway-api/config/properties/db.php
/home/www/serviceim/gateway-api/config/properties/cache.php
然后启动docker,我的docker 看了一下版本是1.8
执行 docker-compose up 报错,不知道什么问题,查了百度 以为是版本问题,后来把docker-compose.yml中的版本号改成了1或者1.8 都不行!
另外还有个问题:
我这边 前端代码已经跑起来了,当登录的时候会访问下面这个接口进行登录,请问能否把服务端的nginx域名配置给出一份,让这边也能通过登录接口执行后端代码交互
以下是打印出来的日志,代码里面服务都是使用127.0.0.1连接的,这个不用修改吧,好几天了,确实是搞不懂了
2021-03-10 16:37:32 [error] [swoft] [logid:6048854ce1df0] [spanid:0] trace[ConnectionPool.php:234,Swoft\Pool\ConnectionPool->getConnectionByChannel] Service connect fail errorCode=115 host=127.0.0.1 port=8092
swoole 是否支持4+?
swoft 版本看见是1.0,如果要升级,影响会有那些?
如果可以的话,可以深入沟通下,我打算升级下,涉及到的框架或是swoole使用了哪些函数,还不是很清楚。
后台搭起来了,没发现前端代码,怎么玩?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.