Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devfullcycle/imersao14
/ functions
Functions
101 in github.com/devfullcycle/imersao14
⨍
Functions
101
◇
Types & classes
59
↓ 3 callers
Method
Execute
(input ChangeRouteStatusInput)
go/internal/routes/usecase/change_route_status.go:33
↓ 3 callers
Method
addRouteWithIcons
(routeOptions: { routeId: string; startMarkerOptions: Omit<google.maps.MarkerOptions, "icon">; end
nextjs/src/app/utils/map.ts:120
↓ 3 callers
Method
moveCar
(routeId: string, position: google.maps.LatLngLiteral)
nextjs/src/app/utils/map.ts:158
↓ 3 callers
Function
useMap
(containerRef: React.RefObject<HTMLDivElement>)
nextjs/src/app/hooks/useMap.ts:6
↓ 2 callers
Method
Calculate
(route *Route)
go/internal/routes/entity/route.go:70
↓ 2 callers
Method
Execute
(input CreateRouteInput)
go/internal/routes/usecase/create_route.go:36
↓ 2 callers
Function
NewRoute
(id, name string, distance float64)
go/internal/routes/entity/route.go:37
↓ 2 callers
Method
hasRoute
(id: string)
nextjs/src/app/utils/map.ts:175
↓ 2 callers
Function
makeMarkerIcon
(color: string)
nextjs/src/app/utils/map.ts:256
↓ 2 callers
Method
removeAllRoutes
()
nextjs/src/app/utils/map.ts:171
↓ 2 callers
Method
removeRoute
(id: string)
nextjs/src/app/utils/map.ts:162
↓ 2 callers
Function
sleep
(ms: number)
nextjs/src/app/driver/page.tsx:80
↓ 1 callers
Method
Calculate
(route *Route)
go/internal/routes/entity/route.go:57
↓ 1 callers
Method
Create
(route *entity.Route)
go/internal/routes/infra/repository/route_repository_mysql.go:20
↓ 1 callers
Method
Create
(route *Route)
go/internal/routes/entity/route.go:22
↓ 1 callers
Method
FindById
(id string)
go/internal/routes/infra/repository/route_repository_mysql.go:30
↓ 1 callers
Method
FindById
(id string)
go/internal/routes/entity/route.go:23
↓ 1 callers
Method
Finish
(finishedAt time.Time)
go/internal/routes/entity/route.go:51
↓ 1 callers
Function
NewChangeRouteStatusUseCase
(repository entity.RouteRepository)
go/internal/routes/usecase/change_route_status.go:27
↓ 1 callers
Function
NewCreateRouteUseCase
(repository entity.RouteRepository, freight entity.FreightInterface)
go/internal/routes/usecase/create_route.go:29
↓ 1 callers
Function
NewFreight
(pricePerKm float64)
go/internal/routes/entity/route.go:64
↓ 1 callers
Function
NewRouteRepositoryMysql
(db *sql.DB)
go/internal/routes/infra/repository/route_repository_mysql.go:14
↓ 1 callers
Method
Start
(startedAt time.Time)
go/internal/routes/entity/route.go:46
↓ 1 callers
Method
Update
(route *Route)
go/internal/routes/entity/route.go:24
↓ 1 callers
Method
addRoute
(routeOptions: { routeId: string; startMarkerOptions: google.maps.MarkerOptions; endMarkerOptions:
nextjs/src/app/utils/map.ts:94
↓ 1 callers
Function
bootstrap
()
nestjs/src/main.ts:4
↓ 1 callers
Function
bootstrap
()
nestjs/src/repl.ts:4
↓ 1 callers
Method
calculateRoute
( directionsResponseData?: DirectionsResponseData & { request: any } )
nextjs/src/app/utils/map.ts:217
↓ 1 callers
Function
convertDirectionsResponseToDirectionsResult
( directionsResponse: DirectionsResponseData & { request: any } )
nextjs/src/app/utils/map.ts:286
↓ 1 callers
Method
create
(createRouteDto: CreateRouteDto)
nestjs/src/routes/routes.service.ts:20
↓ 1 callers
Method
createOrUpdate
(dto: { route_id: string; lat: number; lng: number })
nestjs/src/routes/routes-driver/routes-driver.service.ts:20
↓ 1 callers
Method
delete
()
nextjs/src/app/utils/map.ts:239
↓ 1 callers
Method
fitBounds
()
nextjs/src/app/utils/map.ts:146
↓ 1 callers
Function
getCurrentPosition
( options?: PositionOptions )
nextjs/src/app/utils/geolocation.ts:1
↓ 1 callers
Method
getDirections
(placeOriginId: string, placeDestinationId: string)
nestjs/src/maps/directions/directions.service.ts:16
↓ 1 callers
Method
getHello
()
nestjs/src/app.service.ts:5
↓ 1 callers
Function
makeCarIcon
(color: string)
nextjs/src/app/utils/map.ts:247
Function
AdminPage
()
nextjs/src/app/admin/page.tsx:8
Function
Consume
(topics []string, servers string, msgChan chan *kafka.Message)
go/pkg/kafka/consumer.go:7
Method
Create
(route *entity.Route)
go/internal/routes/usecase/create_route_usecase_test.go:15
Function
DriverPage
()
nextjs/src/app/driver/page.tsx:11
Method
FindById
(id string)
go/internal/routes/usecase/create_route_usecase_test.go:20
Function
GET
(request: NextRequest)
nextjs/src/app/api/places/route.ts:3
Function
GET
()
nextjs/src/app/api/routes/route.ts:4
Function
GET
( request: NextRequest, { params }: { params: { routeId: string } } )
nextjs/src/app/api/routes/[routeId]/route.ts:3
Function
GET
(request: NextRequest)
nextjs/src/app/api/directions/route.ts:3
Function
Home
()
nextjs/src/app/page.tsx:4
Function
Navbar
()
nextjs/src/app/components/Navbar.tsx:3
Function
NewRoutePage
()
nextjs/src/app/new-route/page.tsx:12
Function
NextAppDirEmotionCacheProvider
(props: NextAppDirEmotionCacheProviderProps)
nextjs/src/app/components/ThemeRegistry/EmotionCache.tsx:21
Function
POST
(request: Request)
nextjs/src/app/api/routes/route.ts:14
Function
RootLayout
({ children, }: { children: React.ReactNode; })
nextjs/src/app/layout.tsx:11
Function
RouteSelect
(props: RouteSelectProps)
nextjs/src/app/components/RouteSelect.tsx:11
Function
TestCreateRouteUseCaseExecute
(t *testing.T)
go/internal/routes/usecase/create_route_usecase_test.go:30
Function
TestFreightCalculate
(t *testing.T)
go/internal/routes/entity/route_test.go:24
Function
TestNewChangeRouteStatusUseCase
mock repository
go/internal/routes/usecase/change_route_status_test.go:10
Function
TestNewRoute
(t *testing.T)
go/internal/routes/entity/route_test.go:8
Function
TestRouteRepositoryMysqlCreate
(t *testing.T)
go/internal/routes/infra/repository/route_repository_mysql_test.go:14
Function
ThemeRegistry
({ children }: { children: React.ReactNode })
nextjs/src/app/components/ThemeRegistry/ThemeRegistry.tsx:9
Method
UnmarshalJSON
(b []byte)
go/internal/routes/entity/route.go:11
Method
Update
(route *entity.Route)
go/internal/routes/infra/repository/route_repository_mysql.go:54
Method
Update
(route *entity.Route)
go/internal/routes/usecase/create_route_usecase_test.go:25
Method
constructor
(element: HTMLElement, options: google.maps.MapOptions)
nextjs/src/app/utils/map.ts:8
Method
constructor
(options: { startMarkerOptions: google.maps.MarkerOptions; endMarkerOptions: google.maps.MarkerOptions
nextjs/src/app/utils/map.ts:193
Method
constructor
(private readonly appService: AppService)
nestjs/src/app.controller.ts:7
Method
constructor
( private googleMapsClient: GoogleMapsClient, private configService: ConfigService, )
nestjs/src/maps/places/places.service.ts:10
Method
constructor
(private placeService: PlacesService)
nestjs/src/maps/places/places.controller.ts:6
Method
constructor
(private directionsService: DirectionsService)
nestjs/src/maps/directions/directions.controller.ts:6
Method
constructor
( private googleMapsClient: GoogleMapsClient, private configService: ConfigService, )
nestjs/src/maps/directions/directions.service.ts:11
Method
constructor
(private routesDriverService: RoutesDriverService)
nestjs/src/routes/new-points.job.ts:7
Method
constructor
(route: Route)
nestjs/src/routes/route.serializer.ts:15
Method
constructor
( private prismaService: PrismaService, private directionsService: DirectionsService, // @Inject('
nestjs/src/routes/routes.service.ts:12
Method
constructor
(private readonly routesService: RoutesService)
nestjs/src/routes/routes.controller.ts:17
Method
constructor
( @Inject('KAFKA_SERVICE') private kafkaService: ClientKafka, )
nestjs/src/routes/route-kafka-producer.job.ts:8
Method
constructor
(@InjectQueue('new-points') private newPointsQueue: Queue)
nestjs/src/routes/routes/routes.gateway.ts:15
Method
constructor
( private prismaService: PrismaService, @InjectQueue('kafka-producer') private kafkaProducerQueue: Que
nestjs/src/routes/routes-driver/routes-driver.service.ts:11
Method
create
(@Body() createRouteDto: CreateRouteDto)
nestjs/src/routes/routes.controller.ts:20
Function
createRoute
()
nextjs/src/app/new-route/page.tsx:72
Function
fetcher
(url: string)
nextjs/src/app/utils/http.ts:1
Method
findAll
()
nestjs/src/routes/routes.service.ts:69
Method
findAll
()
nestjs/src/routes/routes.controller.ts:27
Method
findOne
(id: string)
nestjs/src/routes/routes.service.ts:73
Method
findOne
(@Param('id') id: string)
nestjs/src/routes/routes.controller.ts:33
Method
findPlace
(text: string)
nestjs/src/maps/places/places.service.ts:15
Method
findPlace
(@Query('text') text: string)
nestjs/src/maps/places/places.controller.ts:9
Function
flush
()
nextjs/src/app/components/ThemeRegistry/EmotionCache.tsx:39
Method
getDirections
( @Query('originId') originId: string, @Query('destinationId') destinationId: string, )
nestjs/src/maps/directions/directions.controller.ts:9
Method
getHello
()
nestjs/src/app.controller.ts:10
Method
getRoute
(id: string)
nextjs/src/app/utils/map.ts:179
Method
handle
(job: Job<{ route_id: string; lat: number; lng: number }>)
nestjs/src/routes/new-points.job.ts:10
Method
handle
(job: Job<any>)
nestjs/src/routes/route-kafka-producer.job.ts:14
Method
handleMessage
( client: Socket, payload: { route_id: string; lat: number; lng: number }, )
nestjs/src/routes/routes/routes.gateway.ts:18
Function
init
()
go/cmd/freight/main.go:43
Function
main
()
go/cmd/freight/main.go:49
Method
onModuleInit
()
nestjs/src/prisma/prisma/prisma.service.ts:6
Method
remove
(id: number)
nestjs/src/routes/routes.service.ts:83
Method
remove
(@Param('id') id: string)
nestjs/src/routes/routes.controller.ts:44
Function
searchPlaces
(event: FormEvent)
nextjs/src/app/new-route/page.tsx:20
Function
startRoute
()
nextjs/src/app/driver/page.tsx:22
Method
update
(id: number, updateRouteDto: UpdateRouteDto)
nestjs/src/routes/routes.service.ts:79
next →
1–100 of 101, ranked by callers