Documentation ¶
Index ¶
- func GetTunneledUnifiProtectDbSql(ctx context.Context, cancelFunc context.CancelCauseFunc, ...) (*sql.DB, error)
- func GetTunneledUnifiProtectDbSqlx(ctx context.Context, cancelFunc context.CancelCauseFunc, ...) (*sqlx.DB, error)
- type CameraRecord
- type LicensePlateRecord
- type LicensePlateWithLocalTime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CameraRecord ¶
type CameraRecord struct { Mac string `json:"Mac",db:"mac"` Type string `json:"Type",db:"type"` Name string `json:"Name",db:"name"` Id string `json:"Id",db:"id"` }
func SelectCameras ¶
func SelectCameras(db *sqlx.DB) ([]CameraRecord, error)
type LicensePlateRecord ¶
type LicensePlateWithLocalTime ¶
func SelectLicensePlates ¶
func SelectLicensePlates(db *sqlx.DB) ([]LicensePlateWithLocalTime, error)
Click to show internal directories.
Click to hide internal directories.