MCPcopy
hub / github.com/lindb/lindb / channelManager

Struct channelManager

replica/channel_manager.go:56–63  ·  view source on GitHub ↗

channelManager implements ChannelManager.

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected