Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterLiveDataServiceServer(s grpc.ServiceRegistrar, srv LiveDataServiceServer)
- type LiveDataServiceClient
- type LiveDataServiceServer
- type LiveDataService_LiveAnalysisClient
- type LiveDataService_LiveAnalysisSelClient
- type LiveDataService_LiveAnalysisSelServer
- type LiveDataService_LiveAnalysisServer
- type LiveDataService_LiveCarOccupanciesClient
- type LiveDataService_LiveCarOccupanciesServer
- type LiveDataService_LiveCarPitsClient
- type LiveDataService_LiveCarPitsServer
- type LiveDataService_LiveCarStintsClient
- type LiveDataService_LiveCarStintsServer
- type LiveDataService_LiveDriverDataClient
- type LiveDataService_LiveDriverDataServer
- type LiveDataService_LiveRaceStateClient
- type LiveDataService_LiveRaceStateServer
- type LiveDataService_LiveSpeedmapClient
- type LiveDataService_LiveSpeedmapServer
- type UnimplementedLiveDataServiceServer
- func (UnimplementedLiveDataServiceServer) LiveAnalysis(*v1.LiveAnalysisRequest, LiveDataService_LiveAnalysisServer) error
- func (UnimplementedLiveDataServiceServer) LiveAnalysisSel(*v1.LiveAnalysisSelRequest, LiveDataService_LiveAnalysisSelServer) error
- func (UnimplementedLiveDataServiceServer) LiveCarOccupancies(*v1.LiveCarOccupanciesRequest, LiveDataService_LiveCarOccupanciesServer) error
- func (UnimplementedLiveDataServiceServer) LiveCarPits(*v1.LiveCarPitsRequest, LiveDataService_LiveCarPitsServer) error
- func (UnimplementedLiveDataServiceServer) LiveCarStints(*v1.LiveCarStintsRequest, LiveDataService_LiveCarStintsServer) error
- func (UnimplementedLiveDataServiceServer) LiveDriverData(*v1.LiveDriverDataRequest, LiveDataService_LiveDriverDataServer) error
- func (UnimplementedLiveDataServiceServer) LiveRaceState(*v1.LiveRaceStateRequest, LiveDataService_LiveRaceStateServer) error
- func (UnimplementedLiveDataServiceServer) LiveSpeedmap(*v1.LiveSpeedmapRequest, LiveDataService_LiveSpeedmapServer) error
- type UnsafeLiveDataServiceServer
Constants ¶
const ( LiveDataService_LiveRaceState_FullMethodName = "/testrepo.livedata.v1.LiveDataService/LiveRaceState" LiveDataService_LiveSpeedmap_FullMethodName = "/testrepo.livedata.v1.LiveDataService/LiveSpeedmap" LiveDataService_LiveAnalysis_FullMethodName = "/testrepo.livedata.v1.LiveDataService/LiveAnalysis" LiveDataService_LiveCarOccupancies_FullMethodName = "/testrepo.livedata.v1.LiveDataService/LiveCarOccupancies" LiveDataService_LiveCarPits_FullMethodName = "/testrepo.livedata.v1.LiveDataService/LiveCarPits" LiveDataService_LiveCarStints_FullMethodName = "/testrepo.livedata.v1.LiveDataService/LiveCarStints" LiveDataService_LiveDriverData_FullMethodName = "/testrepo.livedata.v1.LiveDataService/LiveDriverData" LiveDataService_LiveAnalysisSel_FullMethodName = "/testrepo.livedata.v1.LiveDataService/LiveAnalysisSel" )
Variables ¶
var LiveDataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "testrepo.livedata.v1.LiveDataService", HandlerType: (*LiveDataServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "LiveRaceState", Handler: _LiveDataService_LiveRaceState_Handler, ServerStreams: true, }, { StreamName: "LiveSpeedmap", Handler: _LiveDataService_LiveSpeedmap_Handler, ServerStreams: true, }, { StreamName: "LiveAnalysis", Handler: _LiveDataService_LiveAnalysis_Handler, ServerStreams: true, }, { StreamName: "LiveCarOccupancies", Handler: _LiveDataService_LiveCarOccupancies_Handler, ServerStreams: true, }, { StreamName: "LiveCarPits", Handler: _LiveDataService_LiveCarPits_Handler, ServerStreams: true, }, { StreamName: "LiveCarStints", Handler: _LiveDataService_LiveCarStints_Handler, ServerStreams: true, }, { StreamName: "LiveDriverData", Handler: _LiveDataService_LiveDriverData_Handler, ServerStreams: true, }, { StreamName: "LiveAnalysisSel", Handler: _LiveDataService_LiveAnalysisSel_Handler, ServerStreams: true, }, }, Metadata: "testrepo/livedata/v1/live_service.proto", }
LiveDataService_ServiceDesc is the grpc.ServiceDesc for LiveDataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLiveDataServiceServer ¶
func RegisterLiveDataServiceServer(s grpc.ServiceRegistrar, srv LiveDataServiceServer)
Types ¶
type LiveDataServiceClient ¶
type LiveDataServiceClient interface { LiveRaceState(ctx context.Context, in *v1.LiveRaceStateRequest, opts ...grpc.CallOption) (LiveDataService_LiveRaceStateClient, error) LiveSpeedmap(ctx context.Context, in *v1.LiveSpeedmapRequest, opts ...grpc.CallOption) (LiveDataService_LiveSpeedmapClient, error) LiveAnalysis(ctx context.Context, in *v1.LiveAnalysisRequest, opts ...grpc.CallOption) (LiveDataService_LiveAnalysisClient, error) LiveCarOccupancies(ctx context.Context, in *v1.LiveCarOccupanciesRequest, opts ...grpc.CallOption) (LiveDataService_LiveCarOccupanciesClient, error) LiveCarPits(ctx context.Context, in *v1.LiveCarPitsRequest, opts ...grpc.CallOption) (LiveDataService_LiveCarPitsClient, error) LiveCarStints(ctx context.Context, in *v1.LiveCarStintsRequest, opts ...grpc.CallOption) (LiveDataService_LiveCarStintsClient, error) LiveDriverData(ctx context.Context, in *v1.LiveDriverDataRequest, opts ...grpc.CallOption) (LiveDataService_LiveDriverDataClient, error) // The first response will include all attributes with all data // The following entries of the stream will only include those attributes configured in the request LiveAnalysisSel(ctx context.Context, in *v1.LiveAnalysisSelRequest, opts ...grpc.CallOption) (LiveDataService_LiveAnalysisSelClient, error) }
LiveDataServiceClient is the client API for LiveDataService 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 NewLiveDataServiceClient ¶
func NewLiveDataServiceClient(cc grpc.ClientConnInterface) LiveDataServiceClient
type LiveDataServiceServer ¶
type LiveDataServiceServer interface { LiveRaceState(*v1.LiveRaceStateRequest, LiveDataService_LiveRaceStateServer) error LiveSpeedmap(*v1.LiveSpeedmapRequest, LiveDataService_LiveSpeedmapServer) error LiveAnalysis(*v1.LiveAnalysisRequest, LiveDataService_LiveAnalysisServer) error LiveCarOccupancies(*v1.LiveCarOccupanciesRequest, LiveDataService_LiveCarOccupanciesServer) error LiveCarPits(*v1.LiveCarPitsRequest, LiveDataService_LiveCarPitsServer) error LiveCarStints(*v1.LiveCarStintsRequest, LiveDataService_LiveCarStintsServer) error LiveDriverData(*v1.LiveDriverDataRequest, LiveDataService_LiveDriverDataServer) error // The first response will include all attributes with all data // The following entries of the stream will only include those attributes configured in the request LiveAnalysisSel(*v1.LiveAnalysisSelRequest, LiveDataService_LiveAnalysisSelServer) error }
LiveDataServiceServer is the server API for LiveDataService service. All implementations should embed UnimplementedLiveDataServiceServer for forward compatibility
type LiveDataService_LiveAnalysisClient ¶
type LiveDataService_LiveAnalysisClient interface { Recv() (*v1.LiveAnalysisResponse, error) grpc.ClientStream }
type LiveDataService_LiveAnalysisSelClient ¶
type LiveDataService_LiveAnalysisSelClient interface { Recv() (*v1.LiveAnalysisSelResponse, error) grpc.ClientStream }
type LiveDataService_LiveAnalysisSelServer ¶
type LiveDataService_LiveAnalysisSelServer interface { Send(*v1.LiveAnalysisSelResponse) error grpc.ServerStream }
type LiveDataService_LiveAnalysisServer ¶
type LiveDataService_LiveAnalysisServer interface { Send(*v1.LiveAnalysisResponse) error grpc.ServerStream }
type LiveDataService_LiveCarOccupanciesClient ¶
type LiveDataService_LiveCarOccupanciesClient interface { Recv() (*v1.LiveCarOccupanciesResponse, error) grpc.ClientStream }
type LiveDataService_LiveCarOccupanciesServer ¶
type LiveDataService_LiveCarOccupanciesServer interface { Send(*v1.LiveCarOccupanciesResponse) error grpc.ServerStream }
type LiveDataService_LiveCarPitsClient ¶
type LiveDataService_LiveCarPitsClient interface { Recv() (*v1.LiveCarPitsResponse, error) grpc.ClientStream }
type LiveDataService_LiveCarPitsServer ¶
type LiveDataService_LiveCarPitsServer interface { Send(*v1.LiveCarPitsResponse) error grpc.ServerStream }
type LiveDataService_LiveCarStintsClient ¶
type LiveDataService_LiveCarStintsClient interface { Recv() (*v1.LiveCarStintsResponse, error) grpc.ClientStream }
type LiveDataService_LiveCarStintsServer ¶
type LiveDataService_LiveCarStintsServer interface { Send(*v1.LiveCarStintsResponse) error grpc.ServerStream }
type LiveDataService_LiveDriverDataClient ¶
type LiveDataService_LiveDriverDataClient interface { Recv() (*v1.LiveDriverDataResponse, error) grpc.ClientStream }
type LiveDataService_LiveDriverDataServer ¶
type LiveDataService_LiveDriverDataServer interface { Send(*v1.LiveDriverDataResponse) error grpc.ServerStream }
type LiveDataService_LiveRaceStateClient ¶
type LiveDataService_LiveRaceStateClient interface { Recv() (*v1.LiveRaceStateResponse, error) grpc.ClientStream }
type LiveDataService_LiveRaceStateServer ¶
type LiveDataService_LiveRaceStateServer interface { Send(*v1.LiveRaceStateResponse) error grpc.ServerStream }
type LiveDataService_LiveSpeedmapClient ¶
type LiveDataService_LiveSpeedmapClient interface { Recv() (*v1.LiveSpeedmapResponse, error) grpc.ClientStream }
type LiveDataService_LiveSpeedmapServer ¶
type LiveDataService_LiveSpeedmapServer interface { Send(*v1.LiveSpeedmapResponse) error grpc.ServerStream }
type UnimplementedLiveDataServiceServer ¶
type UnimplementedLiveDataServiceServer struct { }
UnimplementedLiveDataServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedLiveDataServiceServer) LiveAnalysis ¶
func (UnimplementedLiveDataServiceServer) LiveAnalysis(*v1.LiveAnalysisRequest, LiveDataService_LiveAnalysisServer) error
func (UnimplementedLiveDataServiceServer) LiveAnalysisSel ¶
func (UnimplementedLiveDataServiceServer) LiveAnalysisSel(*v1.LiveAnalysisSelRequest, LiveDataService_LiveAnalysisSelServer) error
func (UnimplementedLiveDataServiceServer) LiveCarOccupancies ¶
func (UnimplementedLiveDataServiceServer) LiveCarOccupancies(*v1.LiveCarOccupanciesRequest, LiveDataService_LiveCarOccupanciesServer) error
func (UnimplementedLiveDataServiceServer) LiveCarPits ¶
func (UnimplementedLiveDataServiceServer) LiveCarPits(*v1.LiveCarPitsRequest, LiveDataService_LiveCarPitsServer) error
func (UnimplementedLiveDataServiceServer) LiveCarStints ¶
func (UnimplementedLiveDataServiceServer) LiveCarStints(*v1.LiveCarStintsRequest, LiveDataService_LiveCarStintsServer) error
func (UnimplementedLiveDataServiceServer) LiveDriverData ¶
func (UnimplementedLiveDataServiceServer) LiveDriverData(*v1.LiveDriverDataRequest, LiveDataService_LiveDriverDataServer) error
func (UnimplementedLiveDataServiceServer) LiveRaceState ¶
func (UnimplementedLiveDataServiceServer) LiveRaceState(*v1.LiveRaceStateRequest, LiveDataService_LiveRaceStateServer) error
func (UnimplementedLiveDataServiceServer) LiveSpeedmap ¶
func (UnimplementedLiveDataServiceServer) LiveSpeedmap(*v1.LiveSpeedmapRequest, LiveDataService_LiveSpeedmapServer) error
type UnsafeLiveDataServiceServer ¶
type UnsafeLiveDataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLiveDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LiveDataServiceServer will result in compilation errors.