Documentation ¶
Index ¶
Constants ¶
View Source
const TopicUrl = "mem://updates"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber(topicUrl string) *Subscriber
func (*Subscriber) Close ¶
func (s *Subscriber) Close()
Click to show internal directories.
Click to hide internal directories.