MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / TripServiceClient

Interface TripServiceClient

shared/proto/trip/trip_grpc.pb.go:29–32  ·  view source on GitHub ↗

TripServiceClient is the client API for TripService 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.

Source from the content-addressed store, hash-verified

27//
28// 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.
29type TripServiceClient interface {
30 PreviewTrip(ctx context.Context, in *PreviewTripRequest, opts ...grpc.CallOption) (*PreviewTripResponse, error)
31 CreateTrip(ctx context.Context, in *CreateTripRequest, opts ...grpc.CallOption) (*CreateTripResponse, error)
32}
33
34type tripServiceClient struct {
35 cc grpc.ClientConnInterface

Callers 3

handleTripPreviewFunction · 0.65

Implementers 3

gRPCHandlerservices/trip-service/internal/infrast
tripServiceClientshared/proto/trip/trip_grpc.pb.go
UnimplementedTripServiceServershared/proto/trip/trip_grpc.pb.go

Calls

no outgoing calls

Tested by

no test coverage detected