Documentation
¶
Index ¶
Constants ¶
View Source
const MQTT = "mqtt"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
func (*Publisher) Disconnect ¶
func (m *Publisher) Disconnect()
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber(params []byte) (*Subscriber, error)
func (*Subscriber) Disconnect ¶
func (m *Subscriber) Disconnect()
func (*Subscriber) Subscribe ¶
func (s *Subscriber) Subscribe(events chan<- []byte) error
Click to show internal directories.
Click to hide internal directories.