rpc接口调用优化

This commit is contained in:
duanhf2012
2020-03-31 16:26:04 +08:00
parent 574d3d0716
commit 9e74d2bf2a
2 changed files with 3 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ type Client struct {
func (slf *Client) NewClientAgent(conn *network.TCPConn) network.Agent {
slf.conn = conn
slf.pending = map[uint64]*Call{}
return slf
}