Makes a copy of the input addresses slice. Addresses are passed during subconn creation and address update operations.
(in []resolver.Address)
| 892 | // Makes a copy of the input addresses slice. Addresses are passed during |
| 893 | // subconn creation and address update operations. |
| 894 | func copyAddresses(in []resolver.Address) []resolver.Address { |
| 895 | out := make([]resolver.Address, len(in)) |
| 896 | copy(out, in) |
| 897 | return out |
| 898 | } |
| 899 | |
| 900 | // newAddrConnLocked creates an addrConn for addrs and adds it to cc.conns. |
| 901 | // |
no outgoing calls
no test coverage detected