firmware

package
v1.3.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleFirmwareService_SyncFirmware_FullMethodName = "/ai.metathings.component.ext.firmware.ModuleFirmwareService/SyncFirmware"
)

Variables

View Source
var File_service_proto protoreflect.FileDescriptor
View Source
var ModuleFirmwareService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ai.metathings.component.ext.firmware.ModuleFirmwareService",
	HandlerType: (*ModuleFirmwareServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SyncFirmware",
			Handler:    _ModuleFirmwareService_SyncFirmware_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

ModuleFirmwareService_ServiceDesc is the grpc.ServiceDesc for ModuleFirmwareService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterModuleFirmwareServiceServer

func RegisterModuleFirmwareServiceServer(s grpc.ServiceRegistrar, srv ModuleFirmwareServiceServer)

Types

type ModuleFirmwareServiceClient

type ModuleFirmwareServiceClient interface {
	SyncFirmware(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ModuleFirmwareServiceClient is the client API for ModuleFirmwareService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ModuleFirmwareServiceServer

type ModuleFirmwareServiceServer interface {
	SyncFirmware(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

ModuleFirmwareServiceServer is the server API for ModuleFirmwareService service. All implementations must embed UnimplementedModuleFirmwareServiceServer for forward compatibility.

type UnimplementedModuleFirmwareServiceServer added in v1.2.14

type UnimplementedModuleFirmwareServiceServer struct{}

UnimplementedModuleFirmwareServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedModuleFirmwareServiceServer) SyncFirmware added in v1.2.14

type UnsafeModuleFirmwareServiceServer

type UnsafeModuleFirmwareServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeModuleFirmwareServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModuleFirmwareServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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