channelManager implements ChannelManager.
| 54 | } |
| 55 | |
| 56 | channelManager struct { |
| 57 | ctx context.Context // context passed to all ShardChannel |
| 58 | fct rpc.ClientStreamFactory // factory to get rpc writeTask client |
| 59 | stateMgr broker.StateManager |
| 60 | logger logger.Logger |
| 61 | cancel context.CancelFunc // cancelFun to cancel context |
| 62 | databaseChannels databaseChannels |
| 63 | } |
| 64 | ) |
| 65 | |
| 66 | // NewChannelManager returns a ChannelManager with dirPath and WriteClientFactory. |
nothing calls this directly
no outgoing calls
no test coverage detected