racestatev1grpc

package
v1.3.0-20240404104327-... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RaceStateService_PublishState_FullMethodName      = "/testrepo.racestate.v1.RaceStateService/PublishState"
	RaceStateService_PublishSpeedmap_FullMethodName   = "/testrepo.racestate.v1.RaceStateService/PublishSpeedmap"
	RaceStateService_PublishDriverData_FullMethodName = "/testrepo.racestate.v1.RaceStateService/PublishDriverData"
)

Variables

View Source
var RaceStateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "testrepo.racestate.v1.RaceStateService",
	HandlerType: (*RaceStateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PublishState",
			Handler:    _RaceStateService_PublishState_Handler,
		},
		{
			MethodName: "PublishSpeedmap",
			Handler:    _RaceStateService_PublishSpeedmap_Handler,
		},
		{
			MethodName: "PublishDriverData",
			Handler:    _RaceStateService_PublishDriverData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "testrepo/racestate/v1/racestate_service.proto",
}

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

Functions

func RegisterRaceStateServiceServer

func RegisterRaceStateServiceServer(s grpc.ServiceRegistrar, srv RaceStateServiceServer)

Types

type RaceStateServiceClient

type RaceStateServiceClient interface {
	PublishState(ctx context.Context, in *v1.PublishStateRequest, opts ...grpc.CallOption) (*v1.PublishStateResponse, error)
	PublishSpeedmap(ctx context.Context, in *v1.PublishSpeedmapRequest, opts ...grpc.CallOption) (*v1.PublishSpeedmapResponse, error)
	PublishDriverData(ctx context.Context, in *v1.PublishDriverDataRequest, opts ...grpc.CallOption) (*v1.PublishDriverDataResponse, error)
}

RaceStateServiceClient is the client API for RaceStateService 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 NewRaceStateServiceClient

func NewRaceStateServiceClient(cc grpc.ClientConnInterface) RaceStateServiceClient

type RaceStateServiceServer

RaceStateServiceServer is the server API for RaceStateService service. All implementations should embed UnimplementedRaceStateServiceServer for forward compatibility

type UnimplementedRaceStateServiceServer

type UnimplementedRaceStateServiceServer struct {
}

UnimplementedRaceStateServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRaceStateServiceServer) PublishDriverData

func (UnimplementedRaceStateServiceServer) PublishSpeedmap

func (UnimplementedRaceStateServiceServer) PublishState

type UnsafeRaceStateServiceServer

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

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

Jump to

Keyboard shortcuts

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