Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 306 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 306 Bytes

ymtcp

一个golang简单实现tcp服务端的例子,支持定制协议

使用

简单实现协议的解析和回调函数即可

example

实现了一个简单的echo例子,也实现了平滑重启;

go run server.go

go run client.go

鸣谢

期间参考了一些例子,衷心表示谢意