Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Msg ¶
type Msg struct {
// contains filtered or unexported fields
}
Msg is
type PubSub ¶
type PubSub struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
func (*PubSub) Stop ¶
func (p *PubSub) Stop()
Stop closes all subscription channels owned by the publisher
func (*PubSub) Subscribe ¶
Subscribe returns a channel on which the pubisher writes the specified topic
func (*PubSub) Unsubscribe ¶
Unsubscribe closes all channels associated with a PID
Click to show internal directories.
Click to hide internal directories.