(c net.Conn, ips []net.IP)
| 72 | } |
| 73 | |
| 74 | func (cs *connSet) Set(c net.Conn, ips []net.IP) { |
| 75 | cs.Lock() |
| 76 | defer cs.Unlock() |
| 77 | |
| 78 | cs.conns[c.RemoteAddr().String()] = connSetItem{ |
| 79 | conn: c, |
| 80 | ips: ips, |
| 81 | } |
| 82 | } |
nothing calls this directly
no test coverage detected