api

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGrpcService added in v0.1.2

func NewGrpcService(mediator mediator.Mediator) p_grpc.DeviceDefinitionServiceServer

func RegisterDeviceDefinitionsRoutes

func RegisterDeviceDefinitionsRoutes(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 GrpcService added in v0.1.2

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) CreateIntegration added in v0.1.28

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) GetDeviceDefinitionBySource added in v0.1.30

func (*GrpcService) GetDeviceDefinitionIntegration added in v0.1.4

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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