mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 04:20:17 +00:00
7066101996
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
25 lines
413 B
Go
25 lines
413 B
Go
// Copyright (c) Magistrala
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package consumer
|
|
|
|
import "time"
|
|
|
|
type removeEvent struct {
|
|
id string
|
|
}
|
|
|
|
type updateChannelEvent struct {
|
|
id string
|
|
name string
|
|
metadata map[string]interface{}
|
|
updatedAt time.Time
|
|
updatedBy string
|
|
}
|
|
|
|
// Connection event is either connect or disconnect event.
|
|
type disconnectEvent struct {
|
|
thingID string
|
|
channelID string
|
|
}
|