Interface
Pausable
Pausable is a testing interface for pausing transport traffic.
Source from the content-addressed store, hash-verified
| 418 | |
| 419 | // Pausable is a testing interface for pausing transport traffic. |
| 420 | type Pausable interface { |
| 421 | Pause() |
| 422 | Resume() |
| 423 | } |
| 424 | |
| 425 | func (t *Transport) Pause() { |
| 426 | t.mu.RLock() |
Implementers 11
Membertests/framework/integration/cluster.go Transportserver/etcdserver/api/rafthttp/transpo peerserver/etcdserver/api/rafthttp/peer.go remoteserver/etcdserver/api/rafthttp/remote. fakePeerserver/etcdserver/api/rafthttp/http_te Revisionserver/etcdserver/api/v3compactor/revi Periodicserver/etcdserver/api/v3compactor/peri
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…