Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asynkron/realtimemap-go
/ functions
Functions
191 in github.com/asynkron/realtimemap-go
⨍
Functions
191
◇
Types & classes
48
↓ 12 callers
Function
file_protos_proto_rawDescGZIP
()
backend/grains/protos.pb.go:814
↓ 7 callers
Method
String
()
backend/grains/protos.pb.go:84
↓ 4 callers
Method
OnPosition
(*Position, cluster.GrainContext)
backend/grains/protos_protoactor.go:68
↓ 4 callers
Function
trySetGeoJsonSource
(map: mapboxgl.Map, sourceId: string, data: GeoJSONSourceData)
frontend/src/components/map/mapUtils.ts:5
↓ 2 callers
Method
GetGeofences
(*GetGeofencesRequest, cluster.GrainContext)
backend/grains/protos_protoactor.go:261
↓ 2 callers
Method
GetPositionsHistory
(*GetPositionsHistoryRequest, cluster.GrainContext)
backend/grains/protos_protoactor.go:69
↓ 2 callers
Method
Init
(ctx cluster.GrainContext)
backend/grains/protos_protoactor.go:65
↓ 2 callers
Method
ListenAndServe
()
backend/server/sever.go:43
↓ 2 callers
Method
ReceiveDefault
(ctx cluster.GrainContext)
backend/grains/protos_protoactor.go:67
↓ 2 callers
Method
Terminate
(ctx cluster.GrainContext)
backend/grains/protos_protoactor.go:66
↓ 2 callers
Function
drawCurrentlySelectedVehicleTrail
()
frontend/src/components/map/vehicleTrailsLayer.ts:54
↓ 2 callers
Function
getBoundsWithMargin
(map: mapboxgl.Map)
frontend/src/components/map/boundsWithMargin.ts:3
↓ 2 callers
Function
mapPositionBatch
(batch *grains.PositionBatch)
backend/server/mappings.go:11
↓ 2 callers
Function
mapVehiclesToGeoJson
( vehicleStates: VehicleStates, predicate: (vehicleState: VehicleState) => boolean )
frontend/src/components/map/vehicleStates.ts:65
↓ 1 callers
Method
Descriptor
()
backend/grains/protos.pb.go:52
↓ 1 callers
Method
Descriptor
Deprecated: Use Empty.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:103
↓ 1 callers
Function
GetOrganizationGrainClient
GetOrganizationGrainClient instantiates a new OrganizationGrainClient with given Identity
backend/grains/protos_protoactor.go:222
↓ 1 callers
Function
GetTrail
(vehicleId: string)
frontend/src/components/map/api-trail.ts:4
↓ 1 callers
Method
HasValidPosition
()
backend/ingress/ingress.go:24
↓ 1 callers
Method
IncludesPosition
(latitude float64, longitude float64)
backend/data/geofences.go:13
↓ 1 callers
Function
MapToPosition
(e *ingress.Event)
backend/main.go:50
↓ 1 callers
Function
NewGeofenceActor
(organizationName string, geofence *data.CircularGeofence)
backend/grains/geofence_actor.go:16
↓ 1 callers
Method
createGeofenceActor
(geofence *data.CircularGeofence, ctx cluster.GrainContext)
backend/grains/organization_grain.go:27
↓ 1 callers
Function
createVehicleFromState
(e: PositionDto)
frontend/src/components/map/vehicleStates.ts:31
↓ 1 callers
Function
drawTrail
(vehicleId: string)
frontend/src/components/map/vehicleTrailsLayer.ts:39
↓ 1 callers
Function
file_protos_proto_init
()
backend/grains/protos.pb.go:860
↓ 1 callers
Function
getMapKeys
(m map[string]struct{})
backend/grains/geofence_actor.go:67
↓ 1 callers
Function
getRuntimeConfig
()
frontend/src/config.ts:8
↓ 1 callers
Function
listenAndServe
(handler http.Handler, done chan<- bool, ctx context.Context)
backend/server/sever.go:51
↓ 1 callers
Function
mapGeofence
(grainGeofence *grains.GeofenceDetails)
backend/server/mappings.go:58
↓ 1 callers
Function
mapGeofencesToPolygons
(geofences: Geofence[] | undefined)
frontend/src/components/map/geofencesLayer.ts:43
↓ 1 callers
Function
mapNotification
(notification *grains.Notification)
backend/server/mappings.go:48
↓ 1 callers
Function
mapOrganization
(org *data.Organization, grainResponse *grains.GetGeofencesResponse)
backend/server/mappings.go:30
↓ 1 callers
Function
serveApi
(e *echo.Echo, cluster *cluster.Cluster)
backend/server/api.go:17
↓ 1 callers
Function
serveHub
(router *http.ServeMux, actorSystem *actor.ActorSystem, ctx context.Context)
backend/server/hub.go:76
↓ 1 callers
Function
setViewport
(map: mapboxgl.Map, connection: HubConnection)
frontend/src/components/map/viewportUpdates.ts:23
↓ 1 callers
Method
setViewport
(swLng: number, swLat: number, neLng: number, neLat: number)
frontend/src/hub.ts:26
↓ 1 callers
Function
stopOnSignals
(cancel func())
backend/main.go:40
↓ 1 callers
Function
updateClusterLayers
(map: mapboxgl.Map, vehicleStates: VehicleStates)
frontend/src/components/map/vehicleClustersLayer.ts:63
↓ 1 callers
Function
updateVehicleFromEvent
( vehicleStates: VehicleStates, positionDto: PositionDto )
frontend/src/components/map/vehicleStates.ts:43
↓ 1 callers
Function
updateVehicleLayers
(map: mapboxgl.Map, vehicleStates: VehicleStates)
frontend/src/components/map/vehiclesLayer.ts:51
Function
ConsumeVehicleEvents
(onEvent func(*Event), ctx context.Context)
backend/ingress/ingress.go:36
Method
Descriptor
Deprecated: Use Position.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:150
Method
Descriptor
Deprecated: Use PositionBatch.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:246
Method
Descriptor
Deprecated: Use GeoPoint.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:294
Method
Descriptor
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:352
Method
Descriptor
Deprecated: Use Viewport.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:428
Method
Descriptor
Deprecated: Use UpdateViewport.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:482
Method
Descriptor
Deprecated: Use GetGeofencesRequest.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:529
Method
Descriptor
Deprecated: Use GeofenceDetails.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:581
Method
Descriptor
Deprecated: Use GetGeofencesResponse.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:663
Method
Descriptor
Deprecated: Use GetPositionsHistoryRequest.ProtoReflect.Descriptor instead.
backend/grains/protos.pb.go:708
Method
Enum
()
backend/grains/protos.pb.go:42
Method
EnumDescriptor
Deprecated: Use GeofenceEvent.Descriptor instead.
backend/grains/protos.pb.go:65
Method
GetDoorsOpen
()
backend/grains/protos.pb.go:196
Method
GetEvent
()
backend/grains/protos.pb.go:384
Method
GetGeofences
()
backend/grains/protos.pb.go:667
Method
GetGeofences
GetGeofences requests the execution on to the cluster with CallOptions
backend/grains/protos_protoactor.go:298
Method
GetGeofences
(_ *GetGeofencesRequest, ctx cluster.GrainContext)
backend/grains/organization_grain.go:42
Method
GetHeading
()
backend/grains/protos.pb.go:189
Method
GetLatitude
()
backend/grains/protos.pb.go:182
Method
GetLatitude
()
backend/grains/protos.pb.go:305
Method
GetLatitude
()
backend/grains/protos.pb.go:606
Method
GetLongitude
()
backend/grains/protos.pb.go:175
Method
GetLongitude
()
backend/grains/protos.pb.go:298
Method
GetLongitude
()
backend/grains/protos.pb.go:599
Method
GetName
()
backend/grains/protos.pb.go:585
Method
GetNorthEast
()
backend/grains/protos.pb.go:439
Method
GetOrgId
()
backend/grains/protos.pb.go:161
Method
GetOrgId
()
backend/grains/protos.pb.go:363
Method
GetOrgId
()
backend/grains/protos.pb.go:533
Method
GetOrgId
()
backend/grains/protos.pb.go:613
Method
GetOrgName
()
backend/grains/protos.pb.go:370
Function
GetOrganizationKind
GetOrganizationKind instantiates a new cluster.Kind for Organization
backend/grains/protos_protoactor.go:233
Method
GetPositions
()
backend/grains/protos.pb.go:250
Method
GetPositionsHistory
GetPositionsHistory requests the execution on to the cluster with CallOptions
backend/grains/protos_protoactor.go:106
Method
GetPositionsHistory
(*GetPositionsHistoryRequest, cluster.GrainContext)
backend/grains/vehicle_grain.go:34
Method
GetRadiusInMeters
()
backend/grains/protos.pb.go:592
Method
GetSouthWest
()
backend/grains/protos.pb.go:432
Method
GetSpeed
()
backend/grains/protos.pb.go:203
Method
GetTimestamp
()
backend/grains/protos.pb.go:168
Function
GetVehicleGrainClient
GetVehicleGrainClient instantiates a new VehicleGrainClient with given Identity
backend/grains/protos_protoactor.go:30
Method
GetVehicleId
()
backend/grains/protos.pb.go:154
Method
GetVehicleId
()
backend/grains/protos.pb.go:356
Function
GetVehicleKind
GetVehicleKind instantiates a new cluster.Kind for Vehicle
backend/grains/protos_protoactor.go:41
Method
GetVehiclesInZone
()
backend/grains/protos.pb.go:620
Method
GetViewport
()
backend/grains/protos.pb.go:486
Method
GetZoneName
()
backend/grains/protos.pb.go:377
Method
Init
(ctx cluster.GrainContext)
backend/grains/protos_protoactor.go:257
Method
Init
(ctx cluster.GrainContext)
backend/grains/vehicle_grain.go:13
Method
Init
(ctx cluster.GrainContext)
backend/grains/organization_grain.go:17
Method
Initialize
(ctx signalr.HubContext)
backend/server/hub.go:22
Function
NewHttpServer
(cluster *cluster.Cluster, ctx context.Context)
backend/server/sever.go:20
Function
NewOrganizationKind
GetOrganizationKind instantiates a new cluster.Kind for Organization
backend/grains/protos_protoactor.go:244
Function
NewUserActor
(connectionID string, sendPositions SendPositions, sendNotification SendNotification)
backend/grains/user_actor.go:24
Function
NewVehicleKind
GetVehicleKind instantiates a new cluster.Kind for Vehicle
backend/grains/protos_protoactor.go:52
Method
Number
()
backend/grains/protos.pb.go:60
Method
OnConnected
(connectionID string)
backend/server/hub.go:30
Method
OnDisconnected
(connectionID string)
backend/server/hub.go:34
Method
OnPosition
OnPosition requests the execution on to the cluster with CallOptions
backend/grains/protos_protoactor.go:80
next →
1–100 of 191, ranked by callers