api

package
v1.2.50 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 46 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 NewGrpcService added in v0.1.2

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, auth fiber.Handler)

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, send sender.Sender)

func StartGrpcServer added in v0.1.2

func StartGrpcServer(logger zerolog.Logger, s *config.Settings, m mediator.Mediator, dbs func() *db.ReaderWriter, onChainDeviceDefs gateways.DeviceDefinitionOnChainService)

Types

type GrpcDefinitionsService added in v0.7.6

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

func (*GrpcDefinitionsService) CreateDeviceDefinition added in v0.7.6

func (*GrpcDefinitionsService) CreateDeviceIntegration added in v0.7.6

func (*GrpcDefinitionsService) CreateDeviceMake added in v0.7.6

func (*GrpcDefinitionsService) CreateDeviceStyle added in v0.7.6

func (*GrpcDefinitionsService) CreateDeviceType added in v0.7.6

func (*GrpcDefinitionsService) CreateIntegration added in v0.7.6

func (*GrpcDefinitionsService) DeleteDeviceType added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionAll added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionByID added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionByMMY added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionByMakeAndYearRange added in v1.0.29

func (*GrpcDefinitionsService) GetDeviceDefinitionBySlug added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionBySlugName added in v1.1.1

func (*GrpcDefinitionsService) GetDeviceDefinitionBySource added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionIntegration added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionOnChainByID added in v1.1.1

func (*GrpcDefinitionsService) GetDeviceDefinitionWithoutImages added in v0.7.6

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

func (*GrpcDefinitionsService) GetDeviceDefinitions added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceDefinitionsOnChain added in v1.1.1

func (*GrpcDefinitionsService) GetDeviceDefinitionsWithHardwareTemplate added in v0.7.8

func (s *GrpcDefinitionsService) GetDeviceDefinitionsWithHardwareTemplate(ctx context.Context, _ *emptypb.Empty) (*p_grpc.GetDevicesMMYResponse, error)

func (*GrpcDefinitionsService) GetDeviceImagesByIDs added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceMakeByName added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceMakeBySlug added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceMakeByTokenID added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceMakes added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceStyleByExternalID added in v0.7.6

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

func (*GrpcDefinitionsService) GetDeviceStyleByID added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceStylesByDeviceDefinitionID added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceStylesByFilter added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceTypes added in v0.7.6

func (*GrpcDefinitionsService) GetDeviceTypesByID added in v0.7.6

func (*GrpcDefinitionsService) GetDevicesMMY added in v0.7.6

func (*GrpcDefinitionsService) GetFilteredDeviceDefinition added in v0.7.6

func (*GrpcDefinitionsService) GetIntegrationByID added in v0.7.6

func (*GrpcDefinitionsService) GetIntegrationByTokenID added in v1.0.7

func (*GrpcDefinitionsService) GetIntegrations added in v0.7.6

func (*GrpcDefinitionsService) UpdateDeviceDefinition added in v0.7.6

UpdateDeviceDefinition is used by admin tool to update tableland properties of a dd, and a couple augmented properties

func (*GrpcDefinitionsService) UpdateDeviceMake added in v0.7.6

func (*GrpcDefinitionsService) UpdateDeviceStyle added in v0.7.6

func (*GrpcDefinitionsService) UpdateDeviceType added in v0.7.6

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