Documentation
¶
Index ¶
Constants ¶
View Source
const ClientPrefix = "signal-api-receiver"
Variables ¶
View Source
var ( // ErrMqttConnectionAttempt is thrown when MQTT connection attempt has failed. ErrMqttConnectionAttempt = errors.New("mqtt connection attempt error") // ErrMqttConnectionFailed is thrown when waiting for connection has failed. ErrMqttConnectionFailed = errors.New("mqtt connection error") )
View Source
var QosValues = []int{0, 1, 2}
Functions ¶
func Init ¶
func Init( ctx context.Context, notifier *receiver.MessageNotifier, config InitConfig, ) error
func MakeClientID ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.