Documentation ¶
Index ¶
- func NewGrpcIntegrationService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.IntegrationServiceServer
- func NewGrpcRecallsService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.RecallsServiceServer
- func NewGrpcReviewsService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.ReviewsServiceServer
- func NewGrpcService(mediator mediator.Mediator, logger *zerolog.Logger) p_grpc.DeviceDefinitionServiceServer
- func RegisterDeviceDefinitionsRoutes(app fiber.Router, m mediator.Mediator)
- func RegisterDeviceTypeRoutes(app fiber.Router, m mediator.Mediator)
- func RegisterIntegrationRoutes(app fiber.Router, m mediator.Mediator)
- func Run(ctx context.Context, logger zerolog.Logger, settings *config.Settings)
- func StartGrpcServer(logger zerolog.Logger, s *config.Settings, m mediator.Mediator)
- type GrpcIntegrationService
- func (s *GrpcIntegrationService) CreateIntegrationFeature(ctx context.Context, in *p_grpc.CreateOrUpdateIntegrationFeatureRequest) (*p_grpc.IntegrationBaseResponse, error)
- func (s *GrpcIntegrationService) DeleteIntegrationFeature(ctx context.Context, in *p_grpc.DeleteIntegrationFeatureRequest) (*p_grpc.IntegrationBaseResponse, error)
- func (s *GrpcIntegrationService) GetDeviceCompatibilities(ctx context.Context, in *p_grpc.GetDeviceCompatibilityListRequest) (*p_grpc.GetDeviceCompatibilityListResponse, error)
- func (s *GrpcIntegrationService) GetIntegrationFeatureByID(ctx context.Context, in *p_grpc.GetIntegrationFeatureByIDRequest) (*p_grpc.GetIntegrationFeatureResponse, error)
- func (s *GrpcIntegrationService) GetIntegrationFeatures(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetIntegrationFeatureListResponse, error)
- func (s *GrpcIntegrationService) UpdateIntegrationFeature(ctx context.Context, in *p_grpc.CreateOrUpdateIntegrationFeatureRequest) (*p_grpc.IntegrationBaseResponse, error)
- type GrpcRecallsService
- type GrpcReviewsService
- type GrpcService
- func (s *GrpcService) CreateDeviceDefinition(ctx context.Context, in *p_grpc.CreateDeviceDefinitionRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) CreateDeviceIntegration(ctx context.Context, in *p_grpc.CreateDeviceIntegrationRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) CreateDeviceMake(ctx context.Context, in *p_grpc.CreateDeviceMakeRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) CreateDeviceStyle(ctx context.Context, in *p_grpc.CreateDeviceStyleRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) CreateDeviceType(ctx context.Context, in *p_grpc.CreateDeviceTypeRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) CreateIntegration(ctx context.Context, in *p_grpc.CreateIntegrationRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) DeleteDeviceType(ctx context.Context, in *p_grpc.DeleteDeviceTypeRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) GetDeviceDefinitionAll(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceDefinitionAllResponse, error)
- func (s *GrpcService) GetDeviceDefinitionByID(ctx context.Context, in *p_grpc.GetDeviceDefinitionRequest) (*p_grpc.GetDeviceDefinitionResponse, error)
- func (s *GrpcService) GetDeviceDefinitionByMMY(ctx context.Context, in *p_grpc.GetDeviceDefinitionByMMYRequest) (*p_grpc.GetDeviceDefinitionItemResponse, error)
- func (s *GrpcService) GetDeviceDefinitionBySlug(ctx context.Context, in *p_grpc.GetDeviceDefinitionBySlugRequest) (*p_grpc.GetDeviceDefinitionItemResponse, error)
- func (s *GrpcService) GetDeviceDefinitionBySource(in *p_grpc.GetDeviceDefinitionBySourceRequest, ...) error
- func (s *GrpcService) GetDeviceDefinitionIntegration(ctx context.Context, in *p_grpc.GetDeviceDefinitionIntegrationRequest) (*p_grpc.GetDeviceDefinitionIntegrationResponse, error)
- func (s *GrpcService) GetDeviceDefinitionWithoutImages(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceDefinitionResponse, error)
- func (s *GrpcService) GetDeviceDefinitions(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceDefinitionResponse, error)
- func (s *GrpcService) GetDeviceMakeByName(ctx context.Context, in *p_grpc.GetDeviceMakeByNameRequest) (*p_grpc.DeviceMake, error)
- func (s *GrpcService) GetDeviceMakeBySlug(ctx context.Context, in *p_grpc.GetDeviceMakeBySlugRequest) (*p_grpc.DeviceMake, error)
- func (s *GrpcService) GetDeviceMakes(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceMakeResponse, error)
- func (s *GrpcService) GetDeviceStyleByExternalID(ctx context.Context, in *p_grpc.GetDeviceStyleByIDRequest) (*p_grpc.DeviceStyle, error)
- func (s *GrpcService) GetDeviceStyleByID(ctx context.Context, in *p_grpc.GetDeviceStyleByIDRequest) (*p_grpc.DeviceStyle, error)
- func (s *GrpcService) GetDeviceStylesByDeviceDefinitionID(ctx context.Context, in *p_grpc.GetDeviceStyleByDeviceDefinitionIDRequest) (*p_grpc.GetDeviceStyleResponse, error)
- func (s *GrpcService) GetDeviceStylesByFilter(ctx context.Context, in *p_grpc.GetDeviceStyleFilterRequest) (*p_grpc.GetDeviceStyleResponse, error)
- func (s *GrpcService) GetDeviceTypes(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceTypeListResponse, error)
- func (s *GrpcService) GetDeviceTypesByID(ctx context.Context, in *p_grpc.GetDeviceTypeByIDRequest) (*p_grpc.GetDeviceTypeResponse, error)
- func (s *GrpcService) GetFilteredDeviceDefinition(ctx context.Context, in *p_grpc.FilterDeviceDefinitionRequest) (*p_grpc.GetFilteredDeviceDefinitionsResponse, error)
- func (s *GrpcService) GetIntegrationByID(ctx context.Context, in *p_grpc.GetIntegrationRequest) (*p_grpc.Integration, error)
- func (s *GrpcService) GetIntegrations(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetIntegrationResponse, error)
- func (s *GrpcService) SetDeviceDefinitionImage(ctx context.Context, in *p_grpc.UpdateDeviceDefinitionImageRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) UpdateDeviceDefinition(ctx context.Context, in *p_grpc.UpdateDeviceDefinitionRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) UpdateDeviceMake(ctx context.Context, in *p_grpc.UpdateDeviceMakeRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) UpdateDeviceStyle(ctx context.Context, in *p_grpc.UpdateDeviceStyleRequest) (*p_grpc.BaseResponse, error)
- func (s *GrpcService) UpdateDeviceType(ctx context.Context, in *p_grpc.UpdateDeviceTypeRequest) (*p_grpc.BaseResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGrpcIntegrationService ¶ added in v0.3.5
func NewGrpcRecallsService ¶ added in v0.2.4
func NewGrpcReviewsService ¶ added in v0.3.4
func NewGrpcService ¶ added in v0.1.2
func RegisterDeviceTypeRoutes ¶ added in v0.2.0
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 (s *GrpcIntegrationService) CreateIntegrationFeature(ctx context.Context, in *p_grpc.CreateOrUpdateIntegrationFeatureRequest) (*p_grpc.IntegrationBaseResponse, error)
func (*GrpcIntegrationService) DeleteIntegrationFeature ¶ added in v0.3.5
func (s *GrpcIntegrationService) DeleteIntegrationFeature(ctx context.Context, in *p_grpc.DeleteIntegrationFeatureRequest) (*p_grpc.IntegrationBaseResponse, error)
func (*GrpcIntegrationService) GetDeviceCompatibilities ¶ added in v0.3.5
func (s *GrpcIntegrationService) GetDeviceCompatibilities(ctx context.Context, in *p_grpc.GetDeviceCompatibilityListRequest) (*p_grpc.GetDeviceCompatibilityListResponse, error)
func (*GrpcIntegrationService) GetIntegrationFeatureByID ¶ added in v0.3.5
func (s *GrpcIntegrationService) GetIntegrationFeatureByID(ctx context.Context, in *p_grpc.GetIntegrationFeatureByIDRequest) (*p_grpc.GetIntegrationFeatureResponse, error)
func (*GrpcIntegrationService) GetIntegrationFeatures ¶ added in v0.3.5
func (s *GrpcIntegrationService) GetIntegrationFeatures(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetIntegrationFeatureListResponse, error)
func (*GrpcIntegrationService) UpdateIntegrationFeature ¶ added in v0.3.5
func (s *GrpcIntegrationService) UpdateIntegrationFeature(ctx context.Context, in *p_grpc.CreateOrUpdateIntegrationFeatureRequest) (*p_grpc.IntegrationBaseResponse, error)
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 (s *GrpcRecallsService) GetRecallsByMake(ctx context.Context, in *p_grpc.GetRecallsByMakeRequest) (*p_grpc.GetRecallsResponse, error)
func (*GrpcRecallsService) GetRecallsByModel ¶ added in v0.2.4
func (s *GrpcRecallsService) GetRecallsByModel(ctx context.Context, in *p_grpc.GetRecallsByModelRequest) (*p_grpc.GetRecallsResponse, error)
type GrpcReviewsService ¶ added in v0.3.4
type GrpcReviewsService struct { p_grpc.UnimplementedReviewsServiceServer Mediator mediator.Mediator // contains filtered or unexported fields }
func (*GrpcReviewsService) GetReviewsByModel ¶ added in v0.3.4
func (s *GrpcReviewsService) GetReviewsByModel(ctx context.Context, in *p_grpc.GetReviewsByModelRequest) (*p_grpc.GetReviewsResponse, error)
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 (s *GrpcService) CreateDeviceMake(ctx context.Context, in *p_grpc.CreateDeviceMakeRequest) (*p_grpc.BaseResponse, error)
func (*GrpcService) CreateDeviceStyle ¶ added in v0.1.11
func (s *GrpcService) CreateDeviceStyle(ctx context.Context, in *p_grpc.CreateDeviceStyleRequest) (*p_grpc.BaseResponse, error)
func (*GrpcService) CreateDeviceType ¶ added in v0.2.3
func (s *GrpcService) CreateDeviceType(ctx context.Context, in *p_grpc.CreateDeviceTypeRequest) (*p_grpc.BaseResponse, error)
func (*GrpcService) CreateIntegration ¶ added in v0.1.28
func (s *GrpcService) CreateIntegration(ctx context.Context, in *p_grpc.CreateIntegrationRequest) (*p_grpc.BaseResponse, error)
func (*GrpcService) DeleteDeviceType ¶ added in v0.2.3
func (s *GrpcService) DeleteDeviceType(ctx context.Context, in *p_grpc.DeleteDeviceTypeRequest) (*p_grpc.BaseResponse, error)
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 (s *GrpcService) GetDeviceDefinitionByID(ctx context.Context, in *p_grpc.GetDeviceDefinitionRequest) (*p_grpc.GetDeviceDefinitionResponse, error)
func (*GrpcService) GetDeviceDefinitionByMMY ¶ added in v0.1.4
func (s *GrpcService) GetDeviceDefinitionByMMY(ctx context.Context, in *p_grpc.GetDeviceDefinitionByMMYRequest) (*p_grpc.GetDeviceDefinitionItemResponse, error)
func (*GrpcService) GetDeviceDefinitionBySlug ¶ added in v0.2.7
func (s *GrpcService) GetDeviceDefinitionBySlug(ctx context.Context, in *p_grpc.GetDeviceDefinitionBySlugRequest) (*p_grpc.GetDeviceDefinitionItemResponse, error)
func (*GrpcService) GetDeviceDefinitionBySource ¶ added in v0.1.30
func (s *GrpcService) GetDeviceDefinitionBySource(in *p_grpc.GetDeviceDefinitionBySourceRequest, stream p_grpc.DeviceDefinitionService_GetDeviceDefinitionBySourceServer) error
func (*GrpcService) GetDeviceDefinitionIntegration ¶ added in v0.1.4
func (s *GrpcService) GetDeviceDefinitionIntegration(ctx context.Context, in *p_grpc.GetDeviceDefinitionIntegrationRequest) (*p_grpc.GetDeviceDefinitionIntegrationResponse, error)
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) 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 (s *GrpcService) GetDeviceStylesByDeviceDefinitionID(ctx context.Context, in *p_grpc.GetDeviceStyleByDeviceDefinitionIDRequest) (*p_grpc.GetDeviceStyleResponse, error)
func (*GrpcService) GetDeviceStylesByFilter ¶ added in v0.1.40
func (s *GrpcService) GetDeviceStylesByFilter(ctx context.Context, in *p_grpc.GetDeviceStyleFilterRequest) (*p_grpc.GetDeviceStyleResponse, error)
func (*GrpcService) GetDeviceTypes ¶ added in v0.2.3
func (s *GrpcService) GetDeviceTypes(ctx context.Context, in *emptypb.Empty) (*p_grpc.GetDeviceTypeListResponse, error)
func (*GrpcService) GetDeviceTypesByID ¶ added in v0.2.0
func (s *GrpcService) GetDeviceTypesByID(ctx context.Context, in *p_grpc.GetDeviceTypeByIDRequest) (*p_grpc.GetDeviceTypeResponse, error)
func (*GrpcService) GetFilteredDeviceDefinition ¶ added in v0.1.13
func (s *GrpcService) GetFilteredDeviceDefinition(ctx context.Context, in *p_grpc.FilterDeviceDefinitionRequest) (*p_grpc.GetFilteredDeviceDefinitionsResponse, error)
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 (s *GrpcService) SetDeviceDefinitionImage(ctx context.Context, in *p_grpc.UpdateDeviceDefinitionImageRequest) (*p_grpc.BaseResponse, error)
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 (s *GrpcService) UpdateDeviceMake(ctx context.Context, in *p_grpc.UpdateDeviceMakeRequest) (*p_grpc.BaseResponse, error)
func (*GrpcService) UpdateDeviceStyle ¶ added in v0.1.38
func (s *GrpcService) UpdateDeviceStyle(ctx context.Context, in *p_grpc.UpdateDeviceStyleRequest) (*p_grpc.BaseResponse, error)
func (*GrpcService) UpdateDeviceType ¶ added in v0.2.3
func (s *GrpcService) UpdateDeviceType(ctx context.Context, in *p_grpc.UpdateDeviceTypeRequest) (*p_grpc.BaseResponse, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.