golang communication library

polaris · 2016-08-29 22:00:01 · 517 次点击    
这是一个分享于 2016-08-29 22:00:01 的资源,其中的信息可能已经有所发展或是发生改变。

Hey guys! I'm new here so I have no idea what this is right. Anyway, during learning Golang, I made a communication library. Using this library, you can communicate with server, client as call other's function. I' poor at English, Reddit and Golang (Almost everything..) but I hope more than just one person like this library :smile:

https://github.com/ghatdev/PostBird


评论:

justinisrael:

Have you tried running this with the -race detector? You have unguarded sharing of your client slice. Bad things could happen if multiple goroutines are connecting and disconnecting

ghatdev:

oh i didn't consider about that. Thank you for suggestion

tgulacsi:

Haven't you seen net/rpc, or grpc.io?

ghatdev:

I'v seen, but I wanted to make my own library during learning Golang :)

brokenprogram:

Why are the comments in chinese but the identifiers (i.e. function name in english ?)


入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

517 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传