Documentation ¶
Index ¶
- Constants
- type Broker
- func (b *Broker) CreateTopic(topic string) error
- func (b *Broker) DeleteTopic(topicName string)
- func (b *Broker) PerformanceStat() string
- func (b *Broker) Producer(topicName string, message []byte) error
- func (b *Broker) Subscribe(url string, topic string) error
- func (b *Broker) Unsubscribe(url string, topic string)
Constants ¶
View Source
const EmptyQueue = -1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (*Broker) CreateTopic ¶
func (*Broker) DeleteTopic ¶
func (*Broker) PerformanceStat ¶
func (*Broker) Unsubscribe ¶
Click to show internal directories.
Click to hide internal directories.