()
| 26 | } |
| 27 | |
| 28 | func (c mockCoordinator) Close() error { |
| 29 | if c.closeFunc != nil { |
| 30 | return c.closeFunc() |
| 31 | } |
| 32 | return nil |
| 33 | } |
| 34 | |
| 35 | func (c mockCoordinator) findCoordinator(req findCoordinatorRequestV0) (findCoordinatorResponseV0, error) { |
| 36 | if c.findCoordinatorFunc == nil { |