1
This commit is contained in:
@@ -219,6 +219,13 @@ func (t *TcpClient) getPrintStatusTime(key string) time.Time {
|
||||
}
|
||||
}
|
||||
|
||||
// 获取连接对象
|
||||
func (t *TcpClient) getClients(key string) *PrintInfo {
|
||||
t.RLock()
|
||||
defer t.RUnlock()
|
||||
return t.Clients[key]
|
||||
}
|
||||
|
||||
func (t *TcpClient) isExistMsg(key string) bool {
|
||||
t.RLock()
|
||||
defer t.RUnlock()
|
||||
|
||||
Reference in New Issue
Block a user