Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Value int
}
func NewDepressEvent ¶
func NewDepressEvent() Event
func NewPressEvent ¶
func NewPressEvent() Event
type MQTTPublisher ¶
func NewMQTTPublisher ¶
func NewMQTTPublisher(broker string, name string) MQTTPublisher
func (*MQTTPublisher) Start ¶
func (p *MQTTPublisher) Start(events <-chan Event)
func (*MQTTPublisher) Stop ¶
func (p *MQTTPublisher) Stop()
Click to show internal directories.
Click to hide internal directories.