stats

package
v0.0.0-...-73876c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateRecordsStats

func UpdateRecordsStats()

Types

type RecordsStats

type RecordsStats struct {
	GeneratedAt time.Time

	Stops                  int64
	Operators              int64
	Services               int64
	ServiceAlerts          int64
	ActiveRealtimeJourneys RecordsStatsActiveRealtimeJourneys
}
var CurrentRecordsStats *RecordsStats

type RecordsStatsActiveRealtimeJourneys

type RecordsStatsActiveRealtimeJourneys struct {
	Current              int64
	LocationWithTrack    int64
	LocationWithoutTrack int64
	ExternalProvided     int64

	NotActivelyTracked int64

	TransportTypes map[ctdf.TransportType]int
	Features       map[string]int
	Datasources    map[string]int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL