Files
supermq/bootstrap/events/consumer/events.go
T
2023-10-26 12:50:56 +02:00

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
}