mirror of
https://github.com/duanhf2012/origin.git
synced 2026-05-21 17:17:31 +08:00
1.优化网络模块
2.新增kcp模块
This commit is contained in:
@@ -29,7 +29,7 @@ func (nc *NatsClient) onSubscribe(msg *nats.Msg) {
|
||||
nc.client.processRpcResponse(msg.Data)
|
||||
}
|
||||
|
||||
func (nc *NatsClient) SetConn(conn *network.TCPConn) {
|
||||
func (nc *NatsClient) SetConn(conn *network.NetConn) {
|
||||
}
|
||||
|
||||
func (nc *NatsClient) Close(waitDone bool) {
|
||||
|
||||
Reference in New Issue
Block a user