Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubscriptionManager ¶
type SubscriptionManager interface { // Register registers an engine on the channel ID into the subscription manager. Register(channelID string, engine network.Engine) error // Unregister removes the engine associated with a channel ID Unregister(channelID string) error // GetEngine returns engine associated with a channel ID. GetEngine(channelID string) (network.Engine, error) // GetChannelIDs returns all the channel IDs registered in this subscription manager. GetChannelIDs() []string }
Click to show internal directories.
Click to hide internal directories.