oskrpb

package
v0.0.0-...-62168f3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OSKRService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Anki.Vector.oskr.OSKRService",
	HandlerType: (*OSKRServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetWifiSignalStrength",
			Handler:    _OSKRService_GetWifiSignalStrength_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "oskr.proto",
}

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

Functions

func RegisterOSKRServiceServer

func RegisterOSKRServiceServer(s grpc.ServiceRegistrar, srv OSKRServiceServer)

Types

type OSKRServiceClient

type OSKRServiceClient interface {
	GetWifiSignalStrength(ctx context.Context, in *WifiSignalStrengthRequest, opts ...grpc.CallOption) (*WifiSignalStrengthResponse, error)
}

OSKRServiceClient is the client API for OSKRService 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 OSKRServiceServer

type OSKRServiceServer interface {
	GetWifiSignalStrength(context.Context, *WifiSignalStrengthRequest) (*WifiSignalStrengthResponse, error)
	// contains filtered or unexported methods
}

OSKRServiceServer is the server API for OSKRService service. All implementations must embed UnimplementedOSKRServiceServer for forward compatibility

type UnimplementedOSKRServiceServer

type UnimplementedOSKRServiceServer struct {
}

UnimplementedOSKRServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOSKRServiceServer) GetWifiSignalStrength

type UnsafeOSKRServiceServer

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

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

type WifiSignalStrengthRequest

type WifiSignalStrengthRequest struct {
	// contains filtered or unexported fields
}

func (*WifiSignalStrengthRequest) Descriptor deprecated

func (*WifiSignalStrengthRequest) Descriptor() ([]byte, []int)

Deprecated: Use WifiSignalStrengthRequest.ProtoReflect.Descriptor instead.

func (*WifiSignalStrengthRequest) ProtoMessage

func (*WifiSignalStrengthRequest) ProtoMessage()

func (*WifiSignalStrengthRequest) ProtoReflect

func (*WifiSignalStrengthRequest) Reset

func (x *WifiSignalStrengthRequest) Reset()

func (*WifiSignalStrengthRequest) String

func (x *WifiSignalStrengthRequest) String() string

type WifiSignalStrengthResponse

type WifiSignalStrengthResponse struct {
	SignalStrength int32 `protobuf:"varint,1,opt,name=signal_strength,json=signalStrength,proto3" json:"signal_strength,omitempty"`
	// contains filtered or unexported fields
}

func (*WifiSignalStrengthResponse) Descriptor deprecated

func (*WifiSignalStrengthResponse) Descriptor() ([]byte, []int)

Deprecated: Use WifiSignalStrengthResponse.ProtoReflect.Descriptor instead.

func (*WifiSignalStrengthResponse) GetSignalStrength

func (x *WifiSignalStrengthResponse) GetSignalStrength() int32

func (*WifiSignalStrengthResponse) ProtoMessage

func (*WifiSignalStrengthResponse) ProtoMessage()

func (*WifiSignalStrengthResponse) ProtoReflect

func (*WifiSignalStrengthResponse) Reset

func (x *WifiSignalStrengthResponse) Reset()

func (*WifiSignalStrengthResponse) String

func (x *WifiSignalStrengthResponse) String() string

Jump to

Keyboard shortcuts

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