Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codealong-dev/ride-sharing
/ functions
Functions
317 in github.com/codealong-dev/ride-sharing
⨍
Functions
317
◇
Types & classes
114
↓ 1 callers
Function
newServerHandler
()
shared/tracing/grpc.go:26
↓ 1 callers
Function
newTraceProvider
(cfg Config, exporter sdktrace.SpanExporter)
shared/tracing/tracing.go:58
↓ 1 callers
Function
requestRidePreview
(props: RequestRideProps)
web/src/components/RiderMap.tsx:93
↓ 1 callers
Method
setupDeadLetterExchange
()
shared/messaging/rabbitmq.go:150
↓ 1 callers
Method
setupExchangesAndQueues
()
shared/messaging/rabbitmq.go:193
↓ 1 callers
Method
testEmbeddedByValue
()
shared/proto/trip/trip_grpc.pb.go:85
↓ 1 callers
Method
testEmbeddedByValue
()
shared/proto/driver/driver_grpc.pb.go:85
↓ 1 callers
Method
toProto
()
services/api-gateway/types.go:14
↓ 1 callers
Method
toProto
()
services/api-gateway/types.go:33
↓ 1 callers
Function
useDriverStreamConnection
({ location, geohash, userID, packageSlug }: useDriverConnectionProps)
web/src/hooks/useDriverStreamConnection.ts:16
↓ 1 callers
Function
useRiderStreamConnection
(location: Coordinate, userID: string)
web/src/hooks/useRiderStreamConnection.ts:7
↓ 1 callers
Function
writeJSON
(w http.ResponseWriter, status int, data any)
services/trip-service/internal/infrastructure/http/http.go:39
Function
CarPlate
({ plate }: { plate: string })
web/src/components/DriverCard.tsx:8
Method
Close
()
services/api-gateway/grpc_clients/driver_client.go:41
Method
CreatePaymentSession
(ctx context.Context, amount int64, currency string, metadata map[string]string)
services/payment-service/internal/infrastructure/stripe/stripe.go:25
Method
CreatePaymentSession
CreatePaymentSession creates a new payment session for a trip
services/payment-service/internal/service/service.go:26
Method
CreatePaymentSession
(ctx context.Context, amount int64, currency string, metadata map[string]string)
services/payment-service/internal/domain/domain.go:14
Method
CreateTrip
(ctx context.Context, req *pb.CreateTripRequest)
services/trip-service/internal/infrastructure/grpc/grpc_handler.go:33
Method
CreateTrip
(ctx context.Context, trip *domain.TripModel)
services/trip-service/internal/infrastructure/repository/mongodb.go:24
Method
CreateTrip
(ctx context.Context, trip *domain.TripModel)
services/trip-service/internal/infrastructure/repository/inmem.go:59
Method
CreateTrip
(ctx context.Context, fare *domain.RideFareModel)
services/trip-service/internal/service/service.go:30
Method
CreateTrip
(ctx context.Context, trip *TripModel)
services/trip-service/internal/domain/trip.go:34
Method
CreateTrip
(ctx context.Context, in *CreateTripRequest, opts ...grpc.CallOption)
shared/proto/trip/trip_grpc.pb.go:52
Method
CreateTrip
(context.Context, *CreateTripRequest)
shared/proto/trip/trip_grpc.pb.go:67
Method
CreateTrip
(context.Context, *CreateTripRequest)
shared/proto/trip/trip_grpc.pb.go:81
Function
DefaultPricingConfig
()
services/trip-service/pkg/types/types.go:42
Method
Descriptor
Deprecated: Use PreviewTripRequest.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:59
Method
Descriptor
Deprecated: Use PreviewTripResponse.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:119
Method
Descriptor
Deprecated: Use Coordinate.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:178
Method
Descriptor
Deprecated: Use Geometry.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:229
Method
Descriptor
Deprecated: Use Route.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:275
Method
Descriptor
Deprecated: Use RideFare.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:336
Method
Descriptor
Deprecated: Use CreateTripRequest.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:402
Method
Descriptor
Deprecated: Use CreateTripResponse.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:454
Method
Descriptor
Deprecated: Use Trip.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:510
Method
Descriptor
Deprecated: Use TripDriver.ProtoReflect.Descriptor instead.
shared/proto/trip/trip.pb.go:593
Method
Descriptor
Deprecated: Use RegisterDriverRequest.ProtoReflect.Descriptor instead.
shared/proto/driver/driver.pb.go:58
Method
Descriptor
Deprecated: Use RegisterDriverResponse.ProtoReflect.Descriptor instead.
shared/proto/driver/driver.pb.go:109
Method
Descriptor
Deprecated: Use Driver.ProtoReflect.Descriptor instead.
shared/proto/driver/driver.pb.go:159
Method
Descriptor
Deprecated: Use Location.ProtoReflect.Descriptor instead.
shared/proto/driver/driver.pb.go:246
Function
DriverCard
({ driver, packageSlug }: { driver?: Driver | null, packageSlug?: CarPackageSlug })
web/src/components/DriverCard.tsx:5
Function
DriverList
({ trip, onPackageSelect, onCancel }: DriverListProps)
web/src/components/DriversList.tsx:15
Function
DriverMap
({ packageSlug }: { packageSlug: CarPackageSlug })
web/src/components/DriverMap.tsx:41
Function
DriverPackageSelector
({ onSelect }: DriverPackageSelectorProps)
web/src/components/DriverPackageSelector.tsx:9
Function
DriverTripOverview
({ trip, status, onAcceptTrip, onDeclineTrip }: DriverTripOverviewProps)
web/src/components/DriverTripOverview.tsx:13
Method
EstimatePackagesPriceWithRoute
(route *tripTypes.OsrmApiResponse)
services/trip-service/internal/service/service.go:102
Method
GenerateTripFares
(ctx context.Context, rideFares []*domain.RideFareModel, userID string, route *tripTypes.OsrmApiResponse)
services/trip-service/internal/service/service.go:113
Method
Get
(id string)
shared/messaging/connection_manager.go:68
Method
GetAndValidateFare
(ctx context.Context, fareID, userID string)
services/trip-service/internal/service/service.go:137
Function
GetBool
(key string, fallback bool)
shared/env/env.go:34
Method
GetCarPlate
()
shared/proto/trip/trip.pb.go:618
Method
GetCarPlate
()
shared/proto/driver/driver.pb.go:184
Method
GetCoordinates
()
shared/proto/trip/trip.pb.go:233
Method
GetDistance
()
shared/proto/trip/trip.pb.go:286
Method
GetDriver
()
shared/proto/trip/trip.pb.go:549
Method
GetDriver
()
shared/proto/driver/driver.pb.go:113
Method
GetDuration
()
shared/proto/trip/trip.pb.go:293
Method
GetGeohash
()
shared/proto/driver/driver.pb.go:191
Method
GetGeometry
()
shared/proto/trip/trip.pb.go:279
Method
GetId
()
shared/proto/trip/trip.pb.go:340
Method
GetId
()
shared/proto/trip/trip.pb.go:514
Method
GetId
()
shared/proto/trip/trip.pb.go:597
Method
GetId
()
shared/proto/driver/driver.pb.go:163
Function
GetInt
(key string, fallback int)
shared/env/env.go:20
Method
GetLatitude
()
shared/proto/trip/trip.pb.go:182
Method
GetLatitude
()
shared/proto/driver/driver.pb.go:250
Method
GetLocation
()
shared/proto/driver/driver.pb.go:205
Method
GetLongitude
()
shared/proto/trip/trip.pb.go:189
Method
GetLongitude
()
shared/proto/driver/driver.pb.go:257
Method
GetName
()
shared/proto/trip/trip.pb.go:604
Method
GetName
()
shared/proto/driver/driver.pb.go:170
Method
GetPackageSlug
()
shared/proto/driver/driver.pb.go:69
Method
GetPackageSlug
()
shared/proto/driver/driver.pb.go:198
Method
GetProfilePicture
()
shared/proto/trip/trip.pb.go:611
Method
GetProfilePicture
()
shared/proto/driver/driver.pb.go:177
Method
GetRideFareByID
(ctx context.Context, id string)
services/trip-service/internal/infrastructure/repository/mongodb.go:90
Method
GetRideFareByID
(ctx context.Context, id string)
services/trip-service/internal/infrastructure/repository/inmem.go:50
Method
GetRideFares
()
shared/proto/trip/trip.pb.go:137
Method
GetRoute
(ctx context.Context, pickup, destination *types.Coordinate, useOSRMApi bool)
services/trip-service/internal/service/service.go:42
Method
GetRoute
()
shared/proto/trip/trip.pb.go:130
Method
GetRoute
()
shared/proto/trip/trip.pb.go:528
Method
GetSelectedFare
()
shared/proto/trip/trip.pb.go:521
Method
GetStatus
()
shared/proto/trip/trip.pb.go:535
Method
GetTotalPriceInCents
()
shared/proto/trip/trip.pb.go:361
Method
GetTrip
()
shared/proto/trip/trip.pb.go:465
Method
GetTripByID
(ctx context.Context, id string)
services/trip-service/internal/infrastructure/repository/mongodb.go:35
Method
GetTripByID
(ctx context.Context, id string)
services/trip-service/internal/infrastructure/repository/inmem.go:23
Method
GetTripByID
(ctx context.Context, id string)
services/trip-service/internal/service/service.go:193
Method
GetTripByID
(ctx context.Context, id string)
services/trip-service/internal/domain/trip.go:37
Method
GetTripID
()
shared/proto/trip/trip.pb.go:123
Method
GetTripID
()
shared/proto/trip/trip.pb.go:458
Method
GetUserID
()
shared/proto/trip/trip.pb.go:63
Method
GetUserID
()
shared/proto/trip/trip.pb.go:347
Method
GetUserID
()
shared/proto/trip/trip.pb.go:413
Method
HandleTripPreview
(w http.ResponseWriter, r *http.Request)
services/trip-service/internal/infrastructure/http/http.go:21
Function
Home
()
web/src/app/page.tsx:109
Function
HomeContent
()
web/src/app/page.tsx:32
Method
Keys
()
shared/tracing/rabbitmq.go:32
Method
Listen
()
services/trip-service/internal/infrastructure/events/payment_consumer.go:27
Function
MapClickHandler
({ onClick }: MapClickHandlerProps)
web/src/components/MapClickHandler.ts:7
← previous
next →
101–200 of 317, ranked by callers