api

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 RegisterDeviceDefinitionsRoutes

func RegisterDeviceDefinitionsRoutes(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 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.UnimplementedReviewsServiceServer
	Mediator mediator.Mediator
	// contains filtered or unexported fields
}

func (*GrpcReviewsService) GetReviewsByModel added in v0.3.4

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) GetDeviceCompatibilities added in v0.1.38

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) 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) 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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