Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Databases MongoDB = "mongodb" RedisDB = "redisdb" MemoryDB = "memorydb" // Data EventsCollection = "event" ReadingsCollection = "reading" ValueDescriptorCollection = "valueDescriptor" //Export ExportCollection = "exportConfiguration" //Logging LogsCollection = "logEntry" // Metadata Device = "device" DeviceProfile = "deviceProfile" DeviceService = "deviceService" Addressable = "addressable" Command = "command" DeviceReport = "deviceReport" ScheduleEvent = "scheduleEvent" Schedule = "schedule" ProvisionWatcher = "provisionWatcher" )
Variables ¶
View Source
var ( ErrNotFound = errors.New("Item not found") ErrUnsupportedDatabase = errors.New("Unsuppored database type") ErrInvalidObjectId = errors.New("Invalid object ID") ErrNotUnique = errors.New("Resource already exists") ErrCommandStillInUse = errors.New("Command is still in use by device profiles") ErrSlugEmpty = errors.New("Slug is nil or empty") )
Functions ¶
func MakeTimestamp ¶
func MakeTimestamp() int64
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
******************************************************************************
|
****************************************************************************** |
|
******************************************************************************
|
****************************************************************************** |
|
******************************************************************************
|
****************************************************************************** |
Click to show internal directories.
Click to hide internal directories.