mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 04:20:17 +00:00
60e256c267
Signed-off-by: dusan <borovcanindusan1@gmail.com>
25 lines
414 B
Go
25 lines
414 B
Go
// Copyright (c) Abstract Machines
|
|
// 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]any
|
|
updatedAt time.Time
|
|
updatedBy string
|
|
}
|
|
|
|
// Connection event is either connect or disconnect event.
|
|
type connectionEvent struct {
|
|
clientIDs []string
|
|
channelID string
|
|
}
|