api

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGrpcIntegrationService added in v0.3.5

func NewGrpcIntegrationService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.IntegrationServiceServer

func NewGrpcRecallsService added in v0.2.4

func NewGrpcRecallsService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.RecallsServiceServer

func NewGrpcReviewsService added in v0.3.4

func NewGrpcReviewsService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.ReviewsServiceServer

func NewGrpcService added in v0.1.2

func NewGrpcService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.DeviceDefinitionServiceServer

func NewGrpcVinDecoderService added in v0.6.8

func NewGrpcVinDecoderService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.VinDecoderServiceServer

func RegisterDeviceDefinitionsRoutes

func RegisterDeviceDefinitionsRoutes(app fiber.Router, m mediator.Mediator)

func RegisterDeviceMakesRoutes added in v0.6.7

func RegisterDeviceMakesRoutes(app fiber.Router, m mediator.Mediator)

func RegisterDeviceTypeRoutes added in v0.2.0

func RegisterDeviceTypeRoutes(app fiber.Router, m mediator.Mediator)

func RegisterIntegrationRoutes

func RegisterIntegrationRoutes(app fiber.Router, m mediator.Mediator)

func Run

func Run(ctx context.Context, logger zerolog.Logger, settings *config.Settings)

func StartGrpcServer added in v0.1.2

func StartGrpcServer(logger zerolog.Logger, s *config.Settings, m mediator.Mediator)

Types

type GrpcIntegrationService added in v0.3.5

type GrpcIntegrationService struct {
	p_grpc.IntegrationServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcIntegrationService) CreateIntegrationFeature added in v0.3.5

func (*GrpcIntegrationService) DeleteIntegrationFeature added in v0.3.5

func (*GrpcIntegrationService) GetCompatibilitiesByMake added in v0.3.9

func (*GrpcIntegrationService) GetCompatibilityByDeviceArray added in v0.7.2

func (*GrpcIntegrationService) GetCompatibilityByDeviceDefinition added in v0.3.6

func (*GrpcIntegrationService) GetIntegrationFeatureByID added in v0.3.5

func (*GrpcIntegrationService) GetIntegrationFeatures added in v0.3.5

func (*GrpcIntegrationService) GetIntegrationOptions added in v0.3.8

func (*GrpcIntegrationService) UpdateIntegrationFeature added in v0.3.5

type GrpcRecallsService added in v0.2.4

type GrpcRecallsService struct {
	p_grpc.UnimplementedRecallsServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcRecallsService) GetRecallsByMake added in v0.2.4

func (*GrpcRecallsService) GetRecallsByModel added in v0.2.4

type GrpcReviewsService added in v0.3.4

type GrpcReviewsService struct {
	p_grpc.ReviewsServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcReviewsService) ApproveReview added in v0.4.0

func (*GrpcReviewsService) CreateReview added in v0.4.0

func (*GrpcReviewsService) DeleteReview added in v0.4.0

func (*GrpcReviewsService) GetReviewByID added in v0.4.0

func (*GrpcReviewsService) GetReviews added in v0.4.3

func (*GrpcReviewsService) GetReviewsByDeviceDefinitionID added in v0.4.0

func (*GrpcReviewsService) UpdateReview added in v0.4.0

type GrpcService added in v0.1.2

type GrpcService struct {
	p_grpc.DeviceDefinitionServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcService) CreateDeviceDefinition added in v0.1.4

func (s *GrpcService) CreateDeviceDefinition(ctx context.Context, in *p_grpc.CreateDeviceDefinitionRequest) (*p_grpc.BaseResponse, error)

func (*GrpcService) CreateDeviceIntegration added in v0.1.4

func (s *GrpcService) CreateDeviceIntegration(ctx context.Context, in *p_grpc.CreateDeviceIntegrationRequest) (*p_grpc.BaseResponse, error)

func (*GrpcService) CreateDeviceMake added in v0.1.26

func (*GrpcService) CreateDeviceStyle added in v0.1.11

func (*GrpcService) CreateDeviceType added in v0.2.3

func (*GrpcService) CreateIntegration added in v0.1.28

func (*GrpcService) DeleteDeviceType added in v0.2.3

func (*GrpcService) GetDeviceDefinitionAll added in v0.1.7

func (s *GrpcService) GetDeviceDefinitionAll(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceDefinitionAllResponse, error)

func (*GrpcService) GetDeviceDefinitionByID added in v0.1.2

func (*GrpcService) GetDeviceDefinitionByMMY added in v0.1.4

func (*GrpcService) GetDeviceDefinitionBySlug added in v0.2.7

func (*GrpcService) GetDeviceDefinitionIntegration added in v0.1.4

func (*GrpcService) GetDeviceDefinitionWithoutImages added in v0.1.33

func (s *GrpcService) GetDeviceDefinitionWithoutImages(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceDefinitionResponse, error)

func (*GrpcService) GetDeviceDefinitions added in v0.1.34

func (s *GrpcService) GetDeviceDefinitions(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceDefinitionResponse, error)

func (*GrpcService) GetDeviceMakeByName added in v0.1.35

func (s *GrpcService) GetDeviceMakeByName(ctx context.Context, in *p_grpc.GetDeviceMakeByNameRequest) (*p_grpc.DeviceMake, error)

func (*GrpcService) GetDeviceMakeBySlug added in v0.2.7

func (s *GrpcService) GetDeviceMakeBySlug(ctx context.Context, in *p_grpc.GetDeviceMakeBySlugRequest) (*p_grpc.DeviceMake, error)

func (*GrpcService) GetDeviceMakeByTokenID added in v0.5.9

func (s *GrpcService) GetDeviceMakeByTokenID(ctx context.Context, in *p_grpc.GetDeviceMakeByTokenIdRequest) (*p_grpc.DeviceMake, error)

func (*GrpcService) GetDeviceMakes added in v0.1.35

func (s *GrpcService) GetDeviceMakes(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceMakeResponse, error)

func (*GrpcService) GetDeviceStyleByExternalID added in v0.1.27

func (s *GrpcService) GetDeviceStyleByExternalID(ctx context.Context, in *p_grpc.GetDeviceStyleByIDRequest) (*p_grpc.DeviceStyle, error)

func (*GrpcService) GetDeviceStyleByID added in v0.1.27

func (s *GrpcService) GetDeviceStyleByID(ctx context.Context, in *p_grpc.GetDeviceStyleByIDRequest) (*p_grpc.DeviceStyle, error)

func (*GrpcService) GetDeviceStylesByDeviceDefinitionID added in v0.1.31

func (*GrpcService) GetDeviceStylesByFilter added in v0.1.40

func (*GrpcService) GetDeviceTypes added in v0.2.3

func (*GrpcService) GetDeviceTypesByID added in v0.2.0

func (*GrpcService) GetDevicesMMY added in v0.7.2

func (s *GrpcService) GetDevicesMMY(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDevicesMMYResponse, error)

func (*GrpcService) GetFilteredDeviceDefinition added in v0.1.13

func (*GrpcService) GetIntegrationByID added in v0.1.26

func (s *GrpcService) GetIntegrationByID(ctx context.Context, in *p_grpc.GetIntegrationRequest) (*p_grpc.Integration, error)

func (*GrpcService) GetIntegrations added in v0.1.4

func (s *GrpcService) GetIntegrations(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetIntegrationResponse, error)

func (*GrpcService) SetDeviceDefinitionImage added in v0.1.6

func (*GrpcService) UpdateDeviceDefinition added in v0.1.4

func (s *GrpcService) UpdateDeviceDefinition(ctx context.Context, in *p_grpc.UpdateDeviceDefinitionRequest) (*p_grpc.BaseResponse, error)

func (*GrpcService) UpdateDeviceMake added in v0.1.38

func (*GrpcService) UpdateDeviceStyle added in v0.1.38

func (*GrpcService) UpdateDeviceType added in v0.2.3

type GrpcVinDecoderService added in v0.6.8

type GrpcVinDecoderService struct {
	p_grpc.VinDecoderServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcVinDecoderService) DecodeVin added in v0.6.8

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL