mirror of
https://github.com/duanhf2012/origin.git
synced 2026-05-18 06:57:29 +08:00
rpc接口调用优化
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user