Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodedFingerprintData ¶
type DecodedFingerprintData struct {
VIN string `json:"vin"`
Timestamp time.Time `json:"timestamp"`
}
DecodedFingerprintData represents the decoded fingerprint data.
type DeviceType ¶
type DeviceType string
DeviceType represents the type of device.
const ( // DeviceTypeAftermarket represents an aftermarket device. DeviceTypeAftermarket DeviceType = "aftermarket" // DeviceTypeSynthetic represents a synthetic device. DeviceTypeSynthetic DeviceType = "synthetic" )
type FingerprintMessage ¶
type FingerprintMessage struct {
Timestamp time.Time `json:"time"`
Data map[string]any `json:"data"`
Data64 *string `json:"data_base64"`
}
FingerprintMessage represents the fingerprint message containing VIN and timestamp.
type PairedDevice ¶
type PairedDevice struct {
Address common.Address `json:"address"`
Type DeviceType `json:"type"`
}
PairedDevice represents a device paired with a token.
type VehicleInfo ¶
type VehicleInfo struct {
TokenID uint32
PairedDevices []PairedDevice
NameSlug string
}
VehicleInfo contains information about a vehicle NFT
Click to show internal directories.
Click to hide internal directories.