Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceDefinitionCacheService ¶
type DeviceDefinitionCacheService interface { GetDeviceDefinitionByID(ctx context.Context, id string) (*models.GetDeviceDefinitionQueryResult, error) GetDeviceDefinitionBySlug(ctx context.Context, slug string, year int) (*models.GetDeviceDefinitionQueryResult, error) GetDeviceDefinitionByMakeModelAndYears(ctx context.Context, make string, model string, year int) (*models.GetDeviceDefinitionQueryResult, error) DeleteDeviceDefinitionCacheByID(ctx context.Context, id string) DeleteDeviceDefinitionCacheByMakeModelAndYears(ctx context.Context, make string, model string, year int) DeleteDeviceDefinitionCacheBySlug(ctx context.Context, slug string, year int) }
func NewDeviceDefinitionCacheService ¶
func NewDeviceDefinitionCacheService(cache redis.CacheService, repository repositories.DeviceDefinitionRepository) DeviceDefinitionCacheService
type PowerTrainTypeService ¶ added in v1.0.14
type PowerTrainTypeService interface {
ResolvePowerTrainType(ctx context.Context, makeSlug string, modelSlug string, definitionID *string, drivlyData null.JSON, vincarioData null.JSON) (string, error)
}
func NewPowerTrainTypeService ¶ added in v1.0.14
func NewPowerTrainTypeService(dbs func() *db.ReaderWriter, rulesFileName string, logger *zerolog.Logger) (PowerTrainTypeService, error)
type VINDecodingService ¶ added in v0.7.9
type VINDecodingService interface {
GetVIN(ctx context.Context, vin string, dt *repoModel.DeviceType, provider models.DecodeProviderEnum) (*models.VINDecodingInfoData, error)
}
func NewVINDecodingService ¶ added in v0.7.9
func NewVINDecodingService(drivlyAPISvc gateways.DrivlyAPIService, vincarioAPISvc gateways.VincarioAPIService, logger *zerolog.Logger, repository repositories.DeviceDefinitionRepository) VINDecodingService
Click to show internal directories.
Click to hide internal directories.