Documentation
¶
Index ¶
- Variables
- func RegisterIntegrationServiceServer(s grpc.ServiceRegistrar, srv IntegrationServiceServer)
- func RegisterUserDeviceServiceServer(s grpc.ServiceRegistrar, srv UserDeviceServiceServer)
- type GetUserDeviceRequest
- func (*GetUserDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserDeviceRequest) GetId() string
- func (*GetUserDeviceRequest) ProtoMessage()
- func (x *GetUserDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserDeviceRequest) Reset()
- func (x *GetUserDeviceRequest) String() string
- type Integration
- type IntegrationServiceClient
- type IntegrationServiceServer
- type UnimplementedIntegrationServiceServer
- type UnimplementedUserDeviceServiceServer
- type UnsafeIntegrationServiceServer
- type UnsafeUserDeviceServiceServer
- type UserDevice
- func (*UserDevice) Descriptor() ([]byte, []int)deprecated
- func (x *UserDevice) GetDeviceDefinitionId() string
- func (x *UserDevice) GetId() string
- func (x *UserDevice) GetUserId() string
- func (x *UserDevice) GetVinIdentifier() string
- func (*UserDevice) ProtoMessage()
- func (x *UserDevice) ProtoReflect() protoreflect.Message
- func (x *UserDevice) Reset()
- func (x *UserDevice) String() string
- type UserDeviceServiceClient
- type UserDeviceServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_grpc_devices_integrations_proto protoreflect.FileDescriptor
var File_grpc_devices_user_devices_proto protoreflect.FileDescriptor
var IntegrationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "devices.IntegrationService", HandlerType: (*IntegrationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListIntegrations", Handler: _IntegrationService_ListIntegrations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc/devices/integrations.proto", }
IntegrationService_ServiceDesc is the grpc.ServiceDesc for IntegrationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserDeviceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "devices.UserDeviceService", HandlerType: (*UserDeviceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserDevice", Handler: _UserDeviceService_GetUserDevice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc/devices/user_devices.proto", }
UserDeviceService_ServiceDesc is the grpc.ServiceDesc for UserDeviceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIntegrationServiceServer ¶
func RegisterIntegrationServiceServer(s grpc.ServiceRegistrar, srv IntegrationServiceServer)
func RegisterUserDeviceServiceServer ¶
func RegisterUserDeviceServiceServer(s grpc.ServiceRegistrar, srv UserDeviceServiceServer)
Types ¶
type GetUserDeviceRequest ¶
type GetUserDeviceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserDeviceRequest) Descriptor
deprecated
func (*GetUserDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserDeviceRequest.ProtoReflect.Descriptor instead.
func (*GetUserDeviceRequest) GetId ¶
func (x *GetUserDeviceRequest) GetId() string
func (*GetUserDeviceRequest) ProtoMessage ¶
func (*GetUserDeviceRequest) ProtoMessage()
func (*GetUserDeviceRequest) ProtoReflect ¶
func (x *GetUserDeviceRequest) ProtoReflect() protoreflect.Message
func (*GetUserDeviceRequest) Reset ¶
func (x *GetUserDeviceRequest) Reset()
func (*GetUserDeviceRequest) String ¶
func (x *GetUserDeviceRequest) String() string
type Integration ¶
type Integration struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"` // contains filtered or unexported fields }
func (*Integration) Descriptor
deprecated
func (*Integration) Descriptor() ([]byte, []int)
Deprecated: Use Integration.ProtoReflect.Descriptor instead.
func (*Integration) GetId ¶
func (x *Integration) GetId() string
func (*Integration) GetVendor ¶
func (x *Integration) GetVendor() string
func (*Integration) ProtoMessage ¶
func (*Integration) ProtoMessage()
func (*Integration) ProtoReflect ¶
func (x *Integration) ProtoReflect() protoreflect.Message
func (*Integration) Reset ¶
func (x *Integration) Reset()
func (*Integration) String ¶
func (x *Integration) String() string
type IntegrationServiceClient ¶
type IntegrationServiceClient interface {
ListIntegrations(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Integration, error)
}
IntegrationServiceClient is the client API for IntegrationService 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.
func NewIntegrationServiceClient ¶
func NewIntegrationServiceClient(cc grpc.ClientConnInterface) IntegrationServiceClient
type IntegrationServiceServer ¶
type IntegrationServiceServer interface { ListIntegrations(context.Context, *emptypb.Empty) (*Integration, error) // contains filtered or unexported methods }
IntegrationServiceServer is the server API for IntegrationService service. All implementations must embed UnimplementedIntegrationServiceServer for forward compatibility
type UnimplementedIntegrationServiceServer ¶
type UnimplementedIntegrationServiceServer struct { }
UnimplementedIntegrationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIntegrationServiceServer) ListIntegrations ¶
func (UnimplementedIntegrationServiceServer) ListIntegrations(context.Context, *emptypb.Empty) (*Integration, error)
type UnimplementedUserDeviceServiceServer ¶
type UnimplementedUserDeviceServiceServer struct { }
UnimplementedUserDeviceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserDeviceServiceServer) GetUserDevice ¶
func (UnimplementedUserDeviceServiceServer) GetUserDevice(context.Context, *GetUserDeviceRequest) (*UserDevice, error)
type UnsafeIntegrationServiceServer ¶
type UnsafeIntegrationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIntegrationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IntegrationServiceServer will result in compilation errors.
type UnsafeUserDeviceServiceServer ¶
type UnsafeUserDeviceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserDeviceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserDeviceServiceServer will result in compilation errors.
type UserDevice ¶
type UserDevice struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` DeviceDefinitionId string `protobuf:"bytes,3,opt,name=device_definition_id,json=deviceDefinitionId,proto3" json:"device_definition_id,omitempty"` VinIdentifier string `protobuf:"bytes,4,opt,name=vin_identifier,json=vinIdentifier,proto3" json:"vin_identifier,omitempty"` // contains filtered or unexported fields }
func (*UserDevice) Descriptor
deprecated
func (*UserDevice) Descriptor() ([]byte, []int)
Deprecated: Use UserDevice.ProtoReflect.Descriptor instead.
func (*UserDevice) GetDeviceDefinitionId ¶
func (x *UserDevice) GetDeviceDefinitionId() string
func (*UserDevice) GetId ¶
func (x *UserDevice) GetId() string
func (*UserDevice) GetUserId ¶
func (x *UserDevice) GetUserId() string
func (*UserDevice) GetVinIdentifier ¶
func (x *UserDevice) GetVinIdentifier() string
func (*UserDevice) ProtoMessage ¶
func (*UserDevice) ProtoMessage()
func (*UserDevice) ProtoReflect ¶
func (x *UserDevice) ProtoReflect() protoreflect.Message
func (*UserDevice) Reset ¶
func (x *UserDevice) Reset()
func (*UserDevice) String ¶
func (x *UserDevice) String() string
type UserDeviceServiceClient ¶
type UserDeviceServiceClient interface {
GetUserDevice(ctx context.Context, in *GetUserDeviceRequest, opts ...grpc.CallOption) (*UserDevice, error)
}
UserDeviceServiceClient is the client API for UserDeviceService 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.
func NewUserDeviceServiceClient ¶
func NewUserDeviceServiceClient(cc grpc.ClientConnInterface) UserDeviceServiceClient
type UserDeviceServiceServer ¶
type UserDeviceServiceServer interface { GetUserDevice(context.Context, *GetUserDeviceRequest) (*UserDevice, error) // contains filtered or unexported methods }
UserDeviceServiceServer is the server API for UserDeviceService service. All implementations must embed UnimplementedUserDeviceServiceServer for forward compatibility