Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeLabel = "type" InsertType = "insert" DeleteType = "delete" ReadType = "read" PingType = "ping" ListReadType = "listRead" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶ added in v0.2.0
type Record struct {
Type EventType `json:"type" bson:"type" gorm:"type:int"`
DeviceID string `json:"deviceid" bson:"deviceid"`
BirthDate int64 `json:"birthdate" bson:"birthdate"`
DeathDate int64 `json:"deathdate" bson:"deathdate"`
Data []byte `json:"data" bson:"data"`
Nonce []byte `json:"nonce" bson:"nonce"`
Alg string `json:"alg" bson:"alg"`
KID string `json:"kid" bson:"kid" gorm:"Column:kid"`
}
Click to show internal directories.
Click to hide internal directories.