Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 294 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 294 Bytes

运行demo

先启动server

cd cmd/server
go run main.go

可以启动多个client,并指定id

cd cmd/server
go build -o client main.go
./client -id=x

预览图

消息约定

resquest => response request: 奇数 response=request+1 (偶数)