SetConnectionCount sets the number of connections to the specified number.
(n int)
| 132 | |
| 133 | // SetConnectionCount sets the number of connections to the specified number. |
| 134 | func (st *SSHTransfer) SetConnectionCount(n int) error { |
| 135 | st.lock.Lock() |
| 136 | defer st.lock.Unlock() |
| 137 | return st.setConnectionCount(n) |
| 138 | } |
| 139 | |
| 140 | // SetConnectionCountAtLeast sets the number of connections to be not less than |
| 141 | // the specified number. |
no test coverage detected