MCPcopy Create free account

hub / github.com/codealong-dev/ride-sharing / functions

Functions317 in github.com/codealong-dev/ride-sharing

↓ 1 callersFunctionnewServerHandler
()
shared/tracing/grpc.go:26
↓ 1 callersFunctionnewTraceProvider
(cfg Config, exporter sdktrace.SpanExporter)
shared/tracing/tracing.go:58
↓ 1 callersFunctionrequestRidePreview
(props: RequestRideProps)
web/src/components/RiderMap.tsx:93
↓ 1 callersMethodsetupDeadLetterExchange
()
shared/messaging/rabbitmq.go:150
↓ 1 callersMethodsetupExchangesAndQueues
()
shared/messaging/rabbitmq.go:193
↓ 1 callersMethodtestEmbeddedByValue
()
shared/proto/trip/trip_grpc.pb.go:85
↓ 1 callersMethodtestEmbeddedByValue
()
shared/proto/driver/driver_grpc.pb.go:85
↓ 1 callersMethodtoProto
()
services/api-gateway/types.go:14
↓ 1 callersMethodtoProto
()
services/api-gateway/types.go:33
↓ 1 callersFunctionuseDriverStreamConnection
({ location, geohash, userID, packageSlug }: useDriverConnectionProps)
web/src/hooks/useDriverStreamConnection.ts:16
↓ 1 callersFunctionuseRiderStreamConnection
(location: Coordinate, userID: string)
web/src/hooks/useRiderStreamConnection.ts:7
↓ 1 callersFunctionwriteJSON
(w http.ResponseWriter, status int, data any)
services/trip-service/internal/infrastructure/http/http.go:39
FunctionCarPlate
({ plate }: { plate: string })
web/src/components/DriverCard.tsx:8
MethodClose
()
services/api-gateway/grpc_clients/driver_client.go:41
MethodCreatePaymentSession
(ctx context.Context, amount int64, currency string, metadata map[string]string)
services/payment-service/internal/infrastructure/stripe/stripe.go:25
MethodCreatePaymentSession
CreatePaymentSession creates a new payment session for a trip
services/payment-service/internal/service/service.go:26
MethodCreatePaymentSession
(ctx context.Context, amount int64, currency string, metadata map[string]string)
services/payment-service/internal/domain/domain.go:14
MethodCreateTrip
(ctx context.Context, req *pb.CreateTripRequest)
services/trip-service/internal/infrastructure/grpc/grpc_handler.go:33
MethodCreateTrip
(ctx context.Context, trip *domain.TripModel)
services/trip-service/internal/infrastructure/repository/mongodb.go:24
MethodCreateTrip
(ctx context.Context, trip *domain.TripModel)
services/trip-service/internal/infrastructure/repository/inmem.go:59
MethodCreateTrip
(ctx context.Context, fare *domain.RideFareModel)
services/trip-service/internal/service/service.go:30
MethodCreateTrip
(ctx context.Context, trip *TripModel)
services/trip-service/internal/domain/trip.go:34
MethodCreateTrip
(ctx context.Context, in *CreateTripRequest, opts ...grpc.CallOption)
shared/proto/trip/trip_grpc.pb.go:52
MethodCreateTrip
(context.Context, *CreateTripRequest)
shared/proto/trip/trip_grpc.pb.go:67
MethodCreateTrip
(context.Context, *CreateTripRequest)
shared/proto/trip/trip_grpc.pb.go:81
FunctionDefaultPricingConfig
()
services/trip-service/pkg/types/types.go:42
MethodDescriptor
Deprecated: Use PreviewTripRequest.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:59
MethodDescriptor
Deprecated: Use PreviewTripResponse.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:119
MethodDescriptor
Deprecated: Use Coordinate.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:178
MethodDescriptor
Deprecated: Use Geometry.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:229
MethodDescriptor
Deprecated: Use Route.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:275
MethodDescriptor
Deprecated: Use RideFare.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:336
MethodDescriptor
Deprecated: Use CreateTripRequest.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:402
MethodDescriptor
Deprecated: Use CreateTripResponse.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:454
MethodDescriptor
Deprecated: Use Trip.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:510
MethodDescriptor
Deprecated: Use TripDriver.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:593
MethodDescriptor
Deprecated: Use RegisterDriverRequest.ProtoReflect.Descriptor instead.
shared/proto/driver/driver.pb.go:58
MethodDescriptor
Deprecated: Use RegisterDriverResponse.ProtoReflect.Descriptor instead.
shared/proto/driver/driver.pb.go:109
MethodDescriptor
Deprecated: Use Driver.ProtoReflect.Descriptor instead.
shared/proto/driver/driver.pb.go:159
MethodDescriptor
Deprecated: Use Location.ProtoReflect.Descriptor instead.
shared/proto/driver/driver.pb.go:246
FunctionDriverCard
({ driver, packageSlug }: { driver?: Driver | null, packageSlug?: CarPackageSlug })
web/src/components/DriverCard.tsx:5
FunctionDriverList
({ trip, onPackageSelect, onCancel }: DriverListProps)
web/src/components/DriversList.tsx:15
FunctionDriverMap
({ packageSlug }: { packageSlug: CarPackageSlug })
web/src/components/DriverMap.tsx:41
FunctionDriverPackageSelector
({ onSelect }: DriverPackageSelectorProps)
web/src/components/DriverPackageSelector.tsx:9
FunctionDriverTripOverview
({ trip, status, onAcceptTrip, onDeclineTrip }: DriverTripOverviewProps)
web/src/components/DriverTripOverview.tsx:13
MethodEstimatePackagesPriceWithRoute
(route *tripTypes.OsrmApiResponse)
services/trip-service/internal/service/service.go:102
MethodGenerateTripFares
(ctx context.Context, rideFares []*domain.RideFareModel, userID string, route *tripTypes.OsrmApiResponse)
services/trip-service/internal/service/service.go:113
MethodGet
(id string)
shared/messaging/connection_manager.go:68
MethodGetAndValidateFare
(ctx context.Context, fareID, userID string)
services/trip-service/internal/service/service.go:137
FunctionGetBool
(key string, fallback bool)
shared/env/env.go:34
MethodGetCarPlate
()
shared/proto/trip/trip.pb.go:618
MethodGetCarPlate
()
shared/proto/driver/driver.pb.go:184
MethodGetCoordinates
()
shared/proto/trip/trip.pb.go:233
MethodGetDistance
()
shared/proto/trip/trip.pb.go:286
MethodGetDriver
()
shared/proto/trip/trip.pb.go:549
MethodGetDriver
()
shared/proto/driver/driver.pb.go:113
MethodGetDuration
()
shared/proto/trip/trip.pb.go:293
MethodGetGeohash
()
shared/proto/driver/driver.pb.go:191
MethodGetGeometry
()
shared/proto/trip/trip.pb.go:279
MethodGetId
()
shared/proto/trip/trip.pb.go:340
MethodGetId
()
shared/proto/trip/trip.pb.go:514
MethodGetId
()
shared/proto/trip/trip.pb.go:597
MethodGetId
()
shared/proto/driver/driver.pb.go:163
FunctionGetInt
(key string, fallback int)
shared/env/env.go:20
MethodGetLatitude
()
shared/proto/trip/trip.pb.go:182
MethodGetLatitude
()
shared/proto/driver/driver.pb.go:250
MethodGetLocation
()
shared/proto/driver/driver.pb.go:205
MethodGetLongitude
()
shared/proto/trip/trip.pb.go:189
MethodGetLongitude
()
shared/proto/driver/driver.pb.go:257
MethodGetName
()
shared/proto/trip/trip.pb.go:604
MethodGetName
()
shared/proto/driver/driver.pb.go:170
MethodGetPackageSlug
()
shared/proto/driver/driver.pb.go:69
MethodGetPackageSlug
()
shared/proto/driver/driver.pb.go:198
MethodGetProfilePicture
()
shared/proto/trip/trip.pb.go:611
MethodGetProfilePicture
()
shared/proto/driver/driver.pb.go:177
MethodGetRideFareByID
(ctx context.Context, id string)
services/trip-service/internal/infrastructure/repository/mongodb.go:90
MethodGetRideFareByID
(ctx context.Context, id string)
services/trip-service/internal/infrastructure/repository/inmem.go:50
MethodGetRideFares
()
shared/proto/trip/trip.pb.go:137
MethodGetRoute
(ctx context.Context, pickup, destination *types.Coordinate, useOSRMApi bool)
services/trip-service/internal/service/service.go:42
MethodGetRoute
()
shared/proto/trip/trip.pb.go:130
MethodGetRoute
()
shared/proto/trip/trip.pb.go:528
MethodGetSelectedFare
()
shared/proto/trip/trip.pb.go:521
MethodGetStatus
()
shared/proto/trip/trip.pb.go:535
MethodGetTotalPriceInCents
()
shared/proto/trip/trip.pb.go:361
MethodGetTrip
()
shared/proto/trip/trip.pb.go:465
MethodGetTripByID
(ctx context.Context, id string)
services/trip-service/internal/infrastructure/repository/mongodb.go:35
MethodGetTripByID
(ctx context.Context, id string)
services/trip-service/internal/infrastructure/repository/inmem.go:23
MethodGetTripByID
(ctx context.Context, id string)
services/trip-service/internal/service/service.go:193
MethodGetTripByID
(ctx context.Context, id string)
services/trip-service/internal/domain/trip.go:37
MethodGetTripID
()
shared/proto/trip/trip.pb.go:123
MethodGetTripID
()
shared/proto/trip/trip.pb.go:458
MethodGetUserID
()
shared/proto/trip/trip.pb.go:63
MethodGetUserID
()
shared/proto/trip/trip.pb.go:347
MethodGetUserID
()
shared/proto/trip/trip.pb.go:413
MethodHandleTripPreview
(w http.ResponseWriter, r *http.Request)
services/trip-service/internal/infrastructure/http/http.go:21
FunctionHome
()
web/src/app/page.tsx:109
FunctionHomeContent
()
web/src/app/page.tsx:32
MethodKeys
()
shared/tracing/rabbitmq.go:32
MethodListen
()
services/trip-service/internal/infrastructure/events/payment_consumer.go:27
FunctionMapClickHandler
({ onClick }: MapClickHandlerProps)
web/src/components/MapClickHandler.ts:7
← previousnext →101–200 of 317, ranked by callers