Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Qos = byte(1) ConnectTimeout = "10s" )
Functions ¶
This section is empty.
Types ¶
type MsgHandler ¶
type MsgHandler interface {
Handle(msg mqtt.Message)
}
type Sub ¶
type Sub struct { MsgHandler // contains filtered or unexported fields }
func NewSub ¶
func NewSub(h MsgHandler) *Sub
func (*Sub) PubUpdate ¶
func (s *Sub) PubUpdate(mani *manifest.SubManifest, mani_bytes []byte) error
* Publish update on manifest generation
func (*Sub) PublishEvent ¶
func (*Sub) PublishHeartbeat ¶
func (*Sub) SetOptions ¶
func (s *Sub) SetOptions()
Click to show internal directories.
Click to hide internal directories.