server

package
v0.0.0-...-180a93b Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonRPCServer

type CommonRPCServer struct {
	drivercommon.UnimplementedCommonServer
}

func NewCommonRPCServer

func NewCommonRPCServer() *CommonRPCServer

func (*CommonRPCServer) Ping

Ping tests whether the service is working

func (*CommonRPCServer) Version

Version obtains version information from the target service.

type RpcService

func (*RpcService) CloudInstanceStatueCallback

func (server *RpcService) CloudInstanceStatueCallback(ctx context.Context,
	request *cloudinstancecallback.CloudInstanceStatueCallbackRequest) (*emptypb.Empty, error)

func (*RpcService) CreateDeviceCallback

func (server *RpcService) CreateDeviceCallback(ctx context.Context, request *devicecallback.CreateDeviceCallbackRequest) (*emptypb.Empty, error)

func (*RpcService) CreateProductCallback

func (server *RpcService) CreateProductCallback(ctx context.Context, request *productcallback.CreateProductCallbackRequest) (*emptypb.Empty, error)

func (*RpcService) DeleteDeviceCallback

func (server *RpcService) DeleteDeviceCallback(ctx context.Context, request *devicecallback.DeleteDeviceCallbackRequest) (*emptypb.Empty, error)

func (*RpcService) DeleteProductCallback

func (server *RpcService) DeleteProductCallback(ctx context.Context, request *productcallback.DeleteProductCallbackRequest) (*emptypb.Empty, error)

func (*RpcService) Start

func (server *RpcService) Start() error

func (*RpcService) ThingModelMsgIssue

func (server *RpcService) ThingModelMsgIssue(ctx context.Context, request *thingmodel.ThingModelIssueMsg) (*emptypb.Empty, error)

func (*RpcService) UpdateDeviceCallback

func (server *RpcService) UpdateDeviceCallback(ctx context.Context, request *devicecallback.UpdateDeviceCallbackRequest) (*emptypb.Empty, error)

func (*RpcService) UpdateProductCallback

func (server *RpcService) UpdateProductCallback(ctx context.Context, request *productcallback.UpdateProductCallbackRequest) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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