21 lines
354 B
Go
21 lines
354 B
Go
// Copyright (c) Mainflux
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package consumer
|
|
|
|
type removeEvent struct {
|
|
id string
|
|
}
|
|
|
|
type updateChannelEvent struct {
|
|
id string
|
|
name string
|
|
metadata map[string]interface{}
|
|
}
|
|
|
|
// Connection event is either connect or disconnect event.
|
|
type disconnectEvent struct {
|
|
thingID string
|
|
channelID string
|
|
}
|