Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Databases MongoDB = "mongodb" BoltDB = "boltdb" // Data EventsCollection = "event" // Export ExportCollection = "exportConfiguration" // Logging LogsCollection = "logEntry" // Metadata Device = "device" DeviceProfile = "deviceProfile" DeviceService = "deviceService" Addressable = "addressable" Command = "command" ProvisionWatcher = "provisionWatcher" Interval = "interval" IntervalAction = "intervalAction" )
Variables ¶
View Source
var ( ErrNotFound = errors.New("Item not found") ErrUnsupportedDatabase = errors.New("Unsupported 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") ErrNameEmpty = errors.New("Name is required") )
Functions ¶
func MakeTimestamp ¶
func MakeTimestamp() int64
Types ¶
Directories
¶
Path | Synopsis |
---|---|
****************************************************************************** * Copyright 2017 Dell Inc.
|
****************************************************************************** * Copyright 2017 Dell Inc. |
****************************************************************************** * Copyright 2017 Dell Inc.
|
****************************************************************************** * Copyright 2017 Dell Inc. |
models
****************************************************************************** * Copyright 2018 Dell Inc.
|
****************************************************************************** * Copyright 2018 Dell Inc. |
Click to show internal directories.
Click to hide internal directories.