Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSubscriber ¶
func NewSubscriber() chan interface{}
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (*Broker) AddSubscriber ¶
func (b *Broker) AddSubscriber(topic string, ch Subscriber)
type Subscriber ¶
type Subscriber chan interface{}
Click to show internal directories.
Click to hide internal directories.