trackv1grpc

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 (
	TrackService_EnsureTrack_FullMethodName   = "/testrepo.track.v1.TrackService/EnsureTrack"
	TrackService_UpdatePitInfo_FullMethodName = "/testrepo.track.v1.TrackService/UpdatePitInfo"
)

Variables

View Source
var TrackService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "testrepo.track.v1.TrackService",
	HandlerType: (*TrackServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EnsureTrack",
			Handler:    _TrackService_EnsureTrack_Handler,
		},
		{
			MethodName: "UpdatePitInfo",
			Handler:    _TrackService_UpdatePitInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "testrepo/track/v1/track_service.proto",
}

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

Functions

func RegisterTrackServiceServer

func RegisterTrackServiceServer(s grpc.ServiceRegistrar, srv TrackServiceServer)

Types

type TrackServiceClient

type TrackServiceClient interface {
	EnsureTrack(ctx context.Context, in *v1.EnsureTrackRequest, opts ...grpc.CallOption) (*v1.EnsureTrackResponse, error)
	UpdatePitInfo(ctx context.Context, in *v1.UpdatePitInfoRequest, opts ...grpc.CallOption) (*v1.UpdatePitInfoResponse, error)
}

TrackServiceClient is the client API for TrackService 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 NewTrackServiceClient

func NewTrackServiceClient(cc grpc.ClientConnInterface) TrackServiceClient

type TrackServiceServer

type TrackServiceServer interface {
	EnsureTrack(context.Context, *v1.EnsureTrackRequest) (*v1.EnsureTrackResponse, error)
	UpdatePitInfo(context.Context, *v1.UpdatePitInfoRequest) (*v1.UpdatePitInfoResponse, error)
}

TrackServiceServer is the server API for TrackService service. All implementations should embed UnimplementedTrackServiceServer for forward compatibility

type UnimplementedTrackServiceServer

type UnimplementedTrackServiceServer struct {
}

UnimplementedTrackServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTrackServiceServer) EnsureTrack

func (UnimplementedTrackServiceServer) UpdatePitInfo

type UnsafeTrackServiceServer

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

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

Jump to

Keyboard shortcuts

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