0)整体结构
1)server->etcdRaft, 处理协程生成msgWithResult
2)etcdRaft模块,从proc取出msgWithResult
调用step驱动状态机
封装成Ready实例
给server发送:readyc <- rd
3)server处理ready
rd := <-r.Ready()
标签:流程,server,状态机,msgWithResult,etcd,etcdRaft From: https://www.cnblogs.com/jiangshifu/p/16753446.html