![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Go
文章平均质量分 90
--小智--
这个作者很懒,什么都没留下…
展开
-
goim授权流程
本文简单描述一下goim的auth流程auth成功以后,便可以接收推送过来的聊天消息auth流程如下:client ⇒ comet ⇒ logic ⇒ comet ⇒ client其中client发往comet的结构为message Proto { int32 ver = 1 [(gogoproto.jsontag) = "ver"]; int32 op = 2 [(gogoproto.jsontag) = "op"]; int32 seq = 3 [(go原创 2020-11-10 15:53:36 · 802 阅读 · 0 评论 -
goim 纯windows环境搭建
今天在win10的环境下搭建了一下goim,在此记录一下。goim的具体介绍可直接访问github:https://github.com/Terry-Mao/goim1.kafka参考:https://blog.csdn.net/github_38482082/article/details/82112641参考此链接正常启动kafka即可2.discovery参考:https://github.com/bilibili/discovery参考以上连接启动discovery即可,原创 2020-07-21 15:04:37 · 801 阅读 · 3 评论 -
golang gin第一个例子
gin框架的github地址https://github.com/gin-gonic/gin按照github上的文档,执行go get -u github.com/gin-gonic/gin不能成功。还好有镜像可用,执行以下命令go env -w GO111MODULE=ongo env -w GOPROXY=https://mirrors.aliyun.com/go...原创 2020-04-08 19:10:06 · 785 阅读 · 0 评论