Skip to content

Commit

Permalink
Update LWT payload
Browse files Browse the repository at this point in the history
Signed-off-by: JeffMboya <[email protected]>
  • Loading branch information
JeffMboya committed Dec 12, 2024
1 parent 4dba515 commit af7b648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proplet/mqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var (
DiscoveryTopic = "channels/%s/messages/control/proplet/create"
DiscoveryPayload = `{"proplet_id":"%s","chan_id":"%s"}`
LWTTopic = "channels/%s/messages/control/proplet/create"
LWTPayload = `{"status":"online","proplet_id":"%s","chan_id":"%s"}`
LWTPayload = `{"status":"offline","proplet_id":"%s","chan_id":"%s"}`
StartTopic = "channels/%s/messages/control/manager/start"
StopTopic = "channels/%s/messages/control/manager/stop"
RegistryResponseTopic = "channels/%s/messages/registry/server"
Expand Down

0 comments on commit af7b648

Please sign in to comment.