package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.git
Documentation: pkg.go.dev
# Functions
NewStreamManager creates a new stream manager for the given proto ID.
# Variables
ErrStreamAlreadyRemoved is the error that a stream has already been removed.
# Structs
Config is the config for stream manager.
EvtStreamAdded is the event of adding a new stream.
EvtStreamAdded is the event of adding a new stream.
# Interfaces
Operator handles new stream or remove stream.
Reader is the interface to read stream in stream manager.
ReaderSubscriber reads stream and subscribe stream events.
StreamManager is the interface for streamManager.
Subscriber is the interface to support stream event subscription.