()
| 271 | } |
| 272 | |
| 273 | func (r *runtime) getIndexTotal() (int32, int32) { |
| 274 | r.peersMutex.Lock() |
| 275 | defer r.peersMutex.Unlock() |
| 276 | return r.index, r.total |
| 277 | } |
| 278 | |
| 279 | func (r *runtime) getIndexTotalServer() (int32, int32, proto.NodeID) { |
| 280 | r.peersMutex.Lock() |
no outgoing calls
no test coverage detected