1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-28 13:48:49 +08:00
Drasko DRASKOVIC a3886c64e9 Improve Go report
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2016-11-05 00:51:26 +01:00

31 lines
699 B
Go

/**
* Copyright (c) Mainflux
*
* Mainflux server is licensed under an Apache license, version 2.0.
* All rights not explicitly granted in the Apache license, version 2.0 are reserved.
* See the included LICENSE file for more details.
*/
package models
type (
// Device struct
Device struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Online bool `json:"online"`
ConnectedAt string `json:"connected_at"`
DisonnectedAt string `json:"disconnected_at"`
Channels []Channel `json:"channels"`
Created string `json:"created"`
Updated string `json:"updated"`
Metadata map[string]interface{} `json:"metadata"`
}
)