Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mux ¶
Mux allows to multiplex streams to their subscribers
func (*Mux) AddSub ¶
func (m *Mux) AddSub(id string, s sub.Subscriber) error
AddSub adds new subscriber to stream id
func (*Mux) RemSub ¶
func (m *Mux) RemSub(id string, s sub.Subscriber) error
RemSub removes subscriber from stream id
func (*Mux) RemoveStream ¶
RemoveStream removes stream from Mux
Click to show internal directories.
Click to hide internal directories.