2014-04-26 09:18:56 +00:00
|
|
|
package DeviceDatabase
|
|
|
|
|
2014-10-19 17:19:11 +00:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
2014-04-26 09:18:56 +00:00
|
|
|
|
|
|
|
type LogDBEntry struct {
|
|
|
|
TimeUTC time.Time `bson:"TimeUTC"`
|
|
|
|
Project string `bson:"Project"`
|
|
|
|
Sender string `bson:"Sender"`
|
|
|
|
Category string `bson:"Category"`
|
|
|
|
Level string `bson:"Level"`
|
|
|
|
Severity string `bson:"Severity"`
|
|
|
|
Impact string `bson:"Impact"`
|
|
|
|
MessageName string `bson:"MessageName"`
|
|
|
|
MessageDescription string `bson:"MessageDescription"`
|
|
|
|
Parameters []string `bson:"Parameters"`
|
|
|
|
}
|
2014-11-08 12:02:19 +00:00
|
|
|
|
|
|
|
type TTLUpdateResult struct {
|
|
|
|
ExpireAfterSeconds_old int32 `bson:"expireAfterSeconds_old"`
|
|
|
|
ExpireAfterSeconds_new int32 `bson:"expireAfterSeconds_new"`
|
|
|
|
Ok int32 `bson:"ok"`
|
|
|
|
}
|