| 557 | } |
| 558 | |
| 559 | type inMemoryCoordClient struct { |
| 560 | sync.Mutex |
| 561 | ctx context.Context |
| 562 | cancel context.CancelFunc |
| 563 | closed bool |
| 564 | logger slog.Logger |
| 565 | resps <-chan *proto.CoordinateResponse |
| 566 | reqs chan<- *proto.CoordinateRequest |
| 567 | } |
| 568 | |
| 569 | func (c *inMemoryCoordClient) Close() error { |
| 570 | c.cancel() |
nothing calls this directly
no outgoing calls
no test coverage detected