package
1.31.2
Repository: https://github.com/dimo-network/devices-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package mock_services is a generated GoMock package.
No description provided by the author
No description provided by the author

# Functions

BuildCallName returns the standard naming convention we want to use for autopi vehicles.
No description provided by the author
IsZeroAddress validate if it's a 0 address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidateAndCleanUUID returns false if uuid is not RFC 4122 - UUIDv2, which is what AutoPi uses.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
there is 1.609 kilometers in a mile.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrWrongRegion is returned when the Tesla proxy chooses the wrong region for a request.

# Structs

AftermarketDeviceMetadata json metadata for table AftermarketDevice.
No description provided by the author
No description provided by the author
No description provided by the author
AutoPiCommandJob holds the autopi webhook jobs in a format for returning to clients.
No description provided by the author
No description provided by the author
AutoPiDongleDevice https://api.dimo.autopi.io/#/dongle/dongle_devices_read.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DCNNameChangedContract represents a NameChanged event raised by the FullAbi contract.
DeviceAttribute represents some device type specific property stored in the metadata json field in DB.
DeviceCompatibility represents what systems we know this is compatible with.
DeviceDefinition represents a device for to clients in generic form, ie.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeviceType whether it is a vehicle or other type and basic information.
DeviceVehicleInfo represents some standard vehicle specific properties stored in the metadata json field in DB.
No description provided by the author
No description provided by the author
No description provided by the author
IntegrationsMetadata represents json stored in integrations table metadata jsonb column.
No description provided by the author
No description provided by the author
No description provided by the author
PatchVehicleProfile used to update vehicle profile https://api.dimo.autopi.io/#/vehicle/vehicle_profile_partial_update.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TeslaSubscriptionError is an error containing text suitable for showing to the user.
No description provided by the author
No description provided by the author
UserDeviceAPIIntegrationsMetadata represents json stored in user_device_api_integrations table metadata jsonb column.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

go:generate mockgen -source autopi_api_service.go -destination mocks/autopi_api_service_mock.go.
No description provided by the author
No description provided by the author
DeviceDefinitionRegistrar.
No description provided by the author
No description provided by the author
go:generate mockgen -source ingest_registrar.go -destination mocks/ingest_registrar_mock.go.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
go:generate mockgen -source=./contracts_events_consumer.go -destination=./contract_events_consumer_mocks_test.go -package=services.
No description provided by the author
go:generate mockgen -source tesla_fleet_api_service.go -destination mocks/tesla_fleet_api_service_mock.go.
go:generate mockgen -source tesla_service.go -destination mocks/tesla_service_mock.go.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author