// // Copyright (c) 2019 // 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 }