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
Function
NewDriverServiceClient
(cc grpc.ClientConnInterface)
shared/proto/driver/driver_grpc.pb.go:38
Function
NewGRPCHandler
(server *grpc.Server, service domain.TripService, publisher *events.TripEventPublisher)
services/trip-service/internal/infrastructure/grpc/grpc_handler.go:23
Function
NewInmemRepository
()
services/trip-service/internal/infrastructure/repository/inmem.go:16
Function
NewTripServiceClient
(cc grpc.ClientConnInterface)
shared/proto/trip/trip_grpc.pb.go:38
Method
PreviewTrip
(ctx context.Context, req *pb.PreviewTripRequest)
services/trip-service/internal/infrastructure/grpc/grpc_handler.go:56
Method
PreviewTrip
(ctx context.Context, in *PreviewTripRequest, opts ...grpc.CallOption)
shared/proto/trip/trip_grpc.pb.go:42
Method
PreviewTrip
(context.Context, *PreviewTripRequest)
shared/proto/trip/trip_grpc.pb.go:66
Method
PreviewTrip
(context.Context, *PreviewTripRequest)
shared/proto/trip/trip_grpc.pb.go:78
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:44
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:104
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:163
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:214
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:260
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:321
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:387
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:439
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:495
Method
ProtoMessage
()
shared/proto/trip/trip.pb.go:578
Method
ProtoMessage
()
shared/proto/driver/driver.pb.go:43
Method
ProtoMessage
()
shared/proto/driver/driver.pb.go:94
Method
ProtoMessage
()
shared/proto/driver/driver.pb.go:144
Method
ProtoMessage
()
shared/proto/driver/driver.pb.go:231
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:46
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:106
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:165
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:216
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:262
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:323
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:389
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:441
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:497
Method
ProtoReflect
()
shared/proto/trip/trip.pb.go:580
Method
ProtoReflect
()
shared/proto/driver/driver.pb.go:45
Method
ProtoReflect
()
shared/proto/driver/driver.pb.go:96
Method
ProtoReflect
()
shared/proto/driver/driver.pb.go:146
Method
ProtoReflect
()
shared/proto/driver/driver.pb.go:233
Method
RegisterDriver
(ctx context.Context, req *pb.RegisterDriverRequest)
services/driver-service/gprc_handler.go:26
Method
RegisterDriver
(driverId string, packageSlug string)
services/driver-service/service.go:45
Method
RegisterDriver
(ctx context.Context, in *RegisterDriverRequest, opts ...grpc.CallOption)
shared/proto/driver/driver_grpc.pb.go:42
Method
RegisterDriver
(context.Context, *RegisterDriverRequest)
shared/proto/driver/driver_grpc.pb.go:66
Method
RegisterDriver
(context.Context, *RegisterDriverRequest)
shared/proto/driver/driver_grpc.pb.go:78
Function
RegisterDriverServiceServer
(s grpc.ServiceRegistrar, srv DriverServiceServer)
shared/proto/driver/driver_grpc.pb.go:94
Function
RegisterTripServiceServer
(s grpc.ServiceRegistrar, srv TripServiceServer)
shared/proto/trip/trip_grpc.pb.go:94
Method
Reset
()
shared/proto/trip/trip.pb.go:33
Method
Reset
()
shared/proto/trip/trip.pb.go:93
Method
Reset
()
shared/proto/trip/trip.pb.go:152
Method
Reset
()
shared/proto/trip/trip.pb.go:203
Method
Reset
()
shared/proto/trip/trip.pb.go:249
Method
Reset
()
shared/proto/trip/trip.pb.go:310
Method
Reset
()
shared/proto/trip/trip.pb.go:376
Method
Reset
()
shared/proto/trip/trip.pb.go:428
Method
Reset
()
shared/proto/trip/trip.pb.go:484
Method
Reset
()
shared/proto/trip/trip.pb.go:567
Method
Reset
()
shared/proto/driver/driver.pb.go:32
Method
Reset
()
shared/proto/driver/driver.pb.go:83
Method
Reset
()
shared/proto/driver/driver.pb.go:133
Method
Reset
()
shared/proto/driver/driver.pb.go:220
Function
RiderMap
({ onRouteSelected }: RiderMapProps)
web/src/components/RiderMap.tsx:35
Function
RiderTripOverview
({ trip, status, assignedDriver, paymentSession, onPackageSelect, onCancel, }: TripOverviewProps)
web/src/components/RiderTripOverview.tsx:21
Function
RootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
web/src/app/layout.tsx:20
Function
RoutingControl
({ route }: { route: [number, number][] })
web/src/components/RoutingControl.tsx:3
Method
SaveRideFare
(ctx context.Context, fare *domain.RideFareModel)
services/trip-service/internal/infrastructure/repository/mongodb.go:79
Method
SaveRideFare
(ctx context.Context, f *domain.RideFareModel)
services/trip-service/internal/infrastructure/repository/inmem.go:64
Function
Skeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
web/src/components/ui/skeleton.tsx:3
Method
String
()
shared/proto/trip/trip.pb.go:40
Method
String
()
shared/proto/trip/trip.pb.go:100
Method
String
()
shared/proto/trip/trip.pb.go:159
Method
String
()
shared/proto/trip/trip.pb.go:210
Method
String
()
shared/proto/trip/trip.pb.go:256
Method
String
()
shared/proto/trip/trip.pb.go:317
Method
String
()
shared/proto/trip/trip.pb.go:383
Method
String
()
shared/proto/trip/trip.pb.go:435
Method
String
()
shared/proto/trip/trip.pb.go:574
Method
String
()
shared/proto/driver/driver.pb.go:39
Method
String
()
shared/proto/driver/driver.pb.go:90
Method
String
()
shared/proto/driver/driver.pb.go:140
Method
String
()
shared/proto/driver/driver.pb.go:227
Function
StripePaymentButton
({ paymentSession, isLoading = false, }: StripePaymentButtonProps)
web/src/components/StripePaymentButton.tsx:13
Method
ToProto
()
services/trip-service/pkg/types/types.go:15
Function
TripOverviewCard
({ title, description, children }: TripOverviewCardProps)
web/src/components/TripOverviewCard.tsx:10
Method
UnregisterDriver
(ctx context.Context, req *pb.RegisterDriverRequest)
services/driver-service/gprc_handler.go:37
Method
UnregisterDriver
(driverId string)
services/driver-service/service.go:75
Method
UnregisterDriver
(ctx context.Context, in *RegisterDriverRequest, opts ...grpc.CallOption)
shared/proto/driver/driver_grpc.pb.go:52
Method
UnregisterDriver
(context.Context, *RegisterDriverRequest)
shared/proto/driver/driver_grpc.pb.go:67
Method
UnregisterDriver
(context.Context, *RegisterDriverRequest)
shared/proto/driver/driver_grpc.pb.go:81
Method
UpdateTrip
(ctx context.Context, tripID string, status string, driver *pbd.Driver)
services/trip-service/internal/infrastructure/repository/mongodb.go:55
Method
UpdateTrip
(ctx context.Context, tripID string, status string, driver *pbd.Driver)
services/trip-service/internal/infrastructure/repository/inmem.go:31
Method
UpdateTrip
(ctx context.Context, tripID string, status string, driver *pbd.Driver)
services/trip-service/internal/service/service.go:197
Method
UpdateTrip
(ctx context.Context, tripID string, status string, driver *pbd.Driver)
services/trip-service/internal/domain/trip.go:38
Function
_DriverService_RegisterDriver_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
shared/proto/driver/driver_grpc.pb.go:105
Function
_DriverService_UnregisterDriver_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
shared/proto/driver/driver_grpc.pb.go:123
Function
_TripService_CreateTrip_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
shared/proto/trip/trip_grpc.pb.go:123
Function
_TripService_PreviewTrip_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
shared/proto/trip/trip_grpc.pb.go:105
Function
handleAcceptTrip
()
web/src/components/DriverMap.tsx:72
Function
handleCancelTrip
()
web/src/components/RiderMap.tsx:143
Function
handleDeclineTrip
()
web/src/components/DriverMap.tsx:91
Function
handleMapClick
(e: L.LeafletMouseEvent)
web/src/components/RiderMap.tsx:59
Function
handleMapClick
(e: L.LeafletMouseEvent)
web/src/components/DriverMap.tsx:65
Function
handlePayment
()
web/src/components/StripePaymentButton.tsx:17
Function
handleStartTrip
(fare: RouteFare)
web/src/components/RiderMap.tsx:115
← previous
next →
201–300 of 317, ranked by callers