Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Addr string SessionQueueSize int ParallelPublishes int ParallelSubscribes int InflightMessages int TokenTimeoutSec int64 }
Config is a MQTT service configuration.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents MQTT broker and client for handling device connection.
func (*Service) ActiveHandler ¶
ActiveHandler callback triggers when device is connected and responded on ping.
Click to show internal directories.
Click to hide internal directories.