funny / link

Go语言网络层脚手架
Do What The F*ck You Want To Public License
1.62k stars 385 forks source link

改进Server的接口设计 #46

Closed bg5sbk closed 8 years ago

bg5sbk commented 8 years ago

让Protocol有机会在创建Codec前执行握手过程。

主要修改:

  1. NewCodec方法可以返回error
  2. Server异步执行NewSession过程
coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 0.0% when pulling 45577f4dd722a691348498c7e4f52ad04fc34c04 on fastgo:master into 3c55af001d99f8ce3d562de94e1e49520df434d1 on funny:master.