Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codealong-dev/ride-sharing
/ types & classes
Types & classes
114 in github.com/codealong-dev/ride-sharing
⨍
Functions
317
◇
Types & classes
114
↓ 2 callers
TypeAlias
amqpHeadersCarrier
amqpHeadersCarrier implements the TextMapCarrier interface for AMQP headers
shared/tracing/rabbitmq.go:17
Struct
APIError
APIError is the error structure for the API.
shared/contracts/http.go:10
Struct
APIResponse
APIResponse is the response structure for the API.
shared/contracts/http.go:4
Struct
AmqpMessage
AmqpMessage is the message structure for AMQP.
shared/contracts/amqp.go:4
Enum
BackendEndpoints
web/src/contracts.ts:None
Interface
ButtonProps
web/src/components/ui/button.tsx:37
Enum
CarPackageSlug
web/src/types.ts:None
Struct
Config
shared/retry/retry.go:13
Struct
Config
shared/tracing/tracing.go:16
Struct
ConnectionManager
shared/messaging/connection_manager.go:25
Interface
Coordinate
web/src/types.ts:16
Struct
Coordinate
shared/types/types.go:13
Struct
Coordinate
shared/proto/trip/trip.pb.go:144
Struct
CreateTripRequest
shared/proto/trip/trip.pb.go:368
Struct
CreateTripResponse
shared/proto/trip/trip.pb.go:420
Interface
Driver
web/src/types.ts:59
Struct
Driver
shared/proto/driver/driver.pb.go:120
Interface
DriverAssignedRequest
web/src/contracts.ts:68
Interface
DriverListProps
web/src/components/DriversList.tsx:8
Interface
DriverLocationRequest
web/src/contracts.ts:73
Interface
DriverPackageSelectorProps
web/src/components/DriverPackageSelector.tsx:5
Interface
DriverRegisterRequest
web/src/contracts.ts:47
Interface
DriverResponseToTripResponse
web/src/contracts.ts:78
Interface
DriverServiceClient
DriverServiceClient is the client API for DriverService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to http
shared/proto/driver/driver_grpc.pb.go:29
Interface
DriverServiceServer
DriverServiceServer is the server API for DriverService service. All implementations must embed UnimplementedDriverServiceServer for forward compatibi
shared/proto/driver/driver_grpc.pb.go:65
Interface
DriverTripOverviewProps
web/src/components/DriverTripOverview.tsx:6
Interface
DriverTripRequest
web/src/contracts.ts:51
Struct
DriverTripResponseData
shared/messaging/events.go:24
Struct
Geometry
shared/types/types.go:9
Struct
Geometry
shared/proto/trip/trip.pb.go:196
Interface
HTTPTripPreviewRequestPayload
web/src/contracts.ts:97
Interface
HTTPTripPreviewResponse
web/src/contracts.ts:87
Interface
HTTPTripStartRequestPayload
web/src/contracts.ts:92
Interface
HTTPTripStartResponse
web/src/types.ts:46
Struct
HttpHandler
services/trip-service/internal/infrastructure/http/http.go:11
Struct
Location
shared/proto/driver/driver.pb.go:212
Interface
MapClickHandlerProps
web/src/components/MapClickHandler.ts:3
FuncType
MessageHandler
func(context.Context, amqp.Delivery) error
shared/messaging/rabbitmq.go:51
Struct
MongoConfig
MongoConfig holds MongoDB connection configuration
shared/db/mongodb.go:21
Interface
NoDriversFoundRequest
web/src/contracts.ts:43
Struct
OsrmApiResponse
services/trip-service/pkg/types/types.go:5
Struct
Payment
Payment represents a payment transaction
services/payment-service/pkg/types/types.go:16
Struct
PaymentConfig
PaymentConfig holds the configuration for the payment service
services/payment-service/pkg/types/types.go:41
Interface
PaymentEventSessionCreatedData
web/src/contracts.ts:56
Struct
PaymentEventSessionCreatedData
shared/messaging/events.go:30
Struct
PaymentIntent
PaymentIntent represents the intent to collect a payment
services/payment-service/pkg/types/types.go:29
Interface
PaymentProcessor
services/payment-service/internal/domain/domain.go:13
Interface
PaymentSessionCreatedRequest
web/src/contracts.ts:63
TypeAlias
PaymentStatus
PaymentStatus represents the current status of a payment
services/payment-service/pkg/types/types.go:6
Struct
PaymentStatusUpdateData
shared/messaging/events.go:45
Struct
PaymentTripResponseData
shared/messaging/events.go:37
Struct
PreviewTripRequest
shared/proto/trip/trip.pb.go:24
Struct
PreviewTripResponse
shared/proto/trip/trip.pb.go:84
Struct
PricingConfig
services/trip-service/pkg/types/types.go:37
Struct
QueueConsumer
shared/messaging/queue_consumer.go:10
Struct
RabbitMQ
shared/messaging/rabbitmq.go:20
Struct
RegisterDriverRequest
shared/proto/driver/driver.pb.go:24
Struct
RegisterDriverResponse
shared/proto/driver/driver.pb.go:76
Interface
RequestRideProps
web/src/types.ts:11
Struct
RideFare
shared/proto/trip/trip.pb.go:300
Struct
RideFareModel
services/trip-service/internal/domain/ride_fare.go:10
Interface
RiderMapProps
web/src/components/RiderMap.tsx:31
Interface
Route
web/src/types.ts:21
Struct
Route
shared/types/types.go:3
Struct
Route
shared/proto/trip/trip.pb.go:240
Interface
RouteFare
web/src/types.ts:36
Interface
Service
services/payment-service/internal/domain/domain.go:9
Struct
Service
services/driver-service/service.go:18
Interface
StripePaymentButtonProps
web/src/components/StripePaymentButton.tsx:5
Interface
Trip
web/src/types.ts:1
Struct
Trip
shared/proto/trip/trip.pb.go:472
Struct
TripConsumer
services/payment-service/internal/events/trip_consumer.go:15
Interface
TripCreatedRequest
web/src/contracts.ts:38
Struct
TripDriver
Static driver object that is used to store the driver information
shared/proto/trip/trip.pb.go:557
Struct
TripEventData
shared/messaging/events.go:20
Struct
TripEventPublisher
services/trip-service/internal/infrastructure/events/trip_publisher.go:11
Enum
TripEvents
web/src/contracts.ts:None
Struct
TripModel
services/trip-service/internal/domain/trip.go:14
Interface
TripOverviewCardProps
web/src/components/TripOverviewCard.tsx:4
Interface
TripOverviewProps
web/src/components/RiderTripOverview.tsx:12
Interface
TripPreview
web/src/types.ts:50
Interface
TripRepository
services/trip-service/internal/domain/trip.go:33
Interface
TripService
services/trip-service/internal/domain/trip.go:41
Interface
TripServiceClient
TripServiceClient is the client API for TripService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://
shared/proto/trip/trip_grpc.pb.go:29
Interface
TripServiceServer
TripServiceServer is the server API for TripService service. All implementations must embed UnimplementedTripServiceServer for forward compatibility.
shared/proto/trip/trip_grpc.pb.go:65
Struct
UnimplementedDriverServiceServer
UnimplementedDriverServiceServer must be embedded to have forward compatible implementations. NOTE: this should be embedded by value instead of point
shared/proto/driver/driver_grpc.pb.go:76
Struct
UnimplementedTripServiceServer
UnimplementedTripServiceServer must be embedded to have forward compatible implementations. NOTE: this should be embedded by value instead of pointer
shared/proto/trip/trip_grpc.pb.go:76
Interface
UnsafeDriverServiceServer
UnsafeDriverServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added met
shared/proto/driver/driver_grpc.pb.go:90
Interface
UnsafeTripServiceServer
UnsafeTripServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added metho
shared/proto/trip/trip_grpc.pb.go:90
Struct
WSDriverMessage
shared/contracts/ws.go:11
Struct
WSMessage
WSMessage is the message structure for the WebSocket.
shared/contracts/ws.go:6
Struct
connWrapper
connWrapper is a wrapper around the websocket connection to allow for thread-safe operations This is necessary because the websocket connection is not
shared/messaging/connection_manager.go:20
Struct
driverConsumer
services/trip-service/internal/infrastructure/events/driver_consumer.go:16
Struct
driverGrpcHandler
services/driver-service/gprc_handler.go:12
Struct
driverInMap
services/driver-service/service.go:12
Struct
driverMessage
services/api-gateway/ws.go:144
Struct
driverServiceClient
services/api-gateway/grpc_clients/driver_client.go:12
Struct
driverServiceClient
shared/proto/driver/driver_grpc.pb.go:34
Struct
gRPCHandler
services/trip-service/internal/infrastructure/grpc/grpc_handler.go:16
Struct
inmemRepository
services/trip-service/internal/infrastructure/repository/inmem.go:11
next →
1–100 of 114, ranked by callers