Documentation ¶
Index ¶
- func CreateDBConnection() (*sql.DB, error)
- func DBReadEnv()
- type VehicleFirmware
- func VehicleFirmwareFind(ctx context.Context, conditions map[string]interface{}) *VehicleFirmware
- func VehicleFirmwareGetLatest(ctx context.Context, model_id int) *VehicleFirmware
- func VehicleModelGetLatestFirmware(ctx context.Context, model_number uint32, firmwareType VehicleFirmwareType) *VehicleFirmware
- type VehicleFirmwareType
- type VehicleModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDBConnection ¶
Types ¶
type VehicleFirmware ¶
type VehicleFirmware struct { Id int64 ModelId int FirmwareType VehicleFirmwareType Version uint32 Crc uint32 BinaryPath string CreatedAt time.Time FileLength uint32 // contains filtered or unexported fields }
func VehicleFirmwareFind ¶
func VehicleFirmwareFind(ctx context.Context, conditions map[string]interface{}) *VehicleFirmware
func VehicleFirmwareGetLatest ¶
func VehicleFirmwareGetLatest(ctx context.Context, model_id int) *VehicleFirmware
func VehicleModelGetLatestFirmware ¶
func VehicleModelGetLatestFirmware(ctx context.Context, model_number uint32, firmwareType VehicleFirmwareType) *VehicleFirmware
type VehicleFirmwareType ¶
type VehicleFirmwareType int
const ( FIRMWARE_VCU VehicleFirmwareType = iota FIRMWARE_HMI )
type VehicleModel ¶
func VehicleModelFind ¶
func VehicleModelFind(ctx context.Context, conditions map[string]interface{}) *VehicleModel
Click to show internal directories.
Click to hide internal directories.