Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertAKCertRow ¶
InsertAKCertRow inserts ak cert row in table `akey_cert`.
func SetAllAKCertUnavailable ¶
SetAllAKCertUnavailable sets available=false in table `akey_cert` according to device id.
Types ¶
type AKCertRow ¶
type AKCertRow struct {
Id int64
Device_id int64
Cre_time time.Time
Exp_time time.Time
Akey_cert string
Available bool
}
AKCertRow stores one record of ak cert key information in database table `akey_cert`.
Click to show internal directories.
Click to hide internal directories.