We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
项目在本地创建的时候不应该是deercoder-chat,而是go/src/github.com/dreamlu/deercoder-chat。 go mod方式管理依赖库的话,按照你目前的项目结构,更新依赖是有问题的,因为没有引用包地址找不到。
能不能贴一个整体架构图让大家一眼就看懂,我本来只是想看看核心聊天信息通信这块,结果还得把代码下载下来看,原谅我的chrome插件出问题了,无法在线浏览。
The text was updated successfully, but these errors were encountered:
1.go 1.12 版本go mod需要设置个GOPROXY[一些依赖在国外], go 1.13不用, 建议用阿里的export GOPROXY=https://mirrors.aliyun.com/goproxy/(go 1.13官方的还不是太稳定) 2.聊天:websocket,客户端和服务端建立websocket, 核心代码
export GOPROXY=https://mirrors.aliyun.com/goproxy/
Sorry, something went wrong.
谢谢。 实时聊天这块可以考虑构建一个网状集群来处理,将消息主动push给对方,而不是存储于数据库中让客户端定时读取。
No branches or pull requests
项目结构有问题
项目在本地创建的时候不应该是deercoder-chat,而是go/src/github.com/dreamlu/deercoder-chat。
go mod方式管理依赖库的话,按照你目前的项目结构,更新依赖是有问题的,因为没有引用包地址找不到。
readme描述
能不能贴一个整体架构图让大家一眼就看懂,我本来只是想看看核心聊天信息通信这块,结果还得把代码下载下来看,原谅我的chrome插件出问题了,无法在线浏览。
The text was updated successfully, but these errors were encountered: