teamgram/teamgram-server

NewZRpcClient()函数是不是有个参数错了?

Closed this issue · 0 comments

func NewZRpcClient(protoName string, conf *ZRpcClientConfig, cb ZPpcClientCallBack) *ZRpcClient {
clients := map[string][]string{}

c := &ZRpcClient{
	callback: cb,
}

c.clients = net2.NewTcpClientGroupManager(protoName, clients, c)

// 这里的clients传进去是个新建没有数据的映射表,是不是写错了?