Documentation ¶
Index ¶
Constants ¶
const ( TrackService_EnsureTrack_FullMethodName = "/testrepo.track.v1.TrackService/EnsureTrack" TrackService_UpdatePitInfo_FullMethodName = "/testrepo.track.v1.TrackService/UpdatePitInfo" )
Variables ¶
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) EnsureTrack(context.Context, *v1.EnsureTrackRequest) (*v1.EnsureTrackResponse, error)
func (UnimplementedTrackServiceServer) UpdatePitInfo ¶
func (UnimplementedTrackServiceServer) UpdatePitInfo(context.Context, *v1.UpdatePitInfoRequest) (*v1.UpdatePitInfoResponse, error)
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.