Documentation ¶
Index ¶
- func AutoCompleteHandler(database *sql.DB) http.HandlerFunc
- func FetchHandler(database *sql.DB) http.HandlerFunc
- func FilesExaminerHandler(db *sql.DB) http.HandlerFunc
- func GetLocationCoordinates(location db.Location) (float64, float64, error)
- func GetMaerskLocations(database *sql.DB, unLoCodes []string) ([]models.MaerskLocation, error)
- func GetMaerskPointToPoint(params FetchParams, locations []db.Location) (models.MaerskPointToPoint, error)
- func GetTrackedVesselsHandler(database *sql.DB) http.HandlerFunc
- func GetVesselLastKnownPosition(database *sql.DB) http.HandlerFunc
- func GetVesselRoute(database *sql.DB) http.HandlerFunc
- func GetVesselRouteGeoJSON(database *sql.DB) http.HandlerFunc
- type FetchParams
- type NominatimResponse
- type VesselMessageSummary
- type VesselsMessagesSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoCompleteHandler ¶
func AutoCompleteHandler(database *sql.DB) http.HandlerFunc
func FetchHandler ¶
func FetchHandler(database *sql.DB) http.HandlerFunc
func FilesExaminerHandler ¶
func FilesExaminerHandler(db *sql.DB) http.HandlerFunc
func GetLocationCoordinates ¶
func GetMaerskLocations ¶
func GetMaerskPointToPoint ¶
func GetMaerskPointToPoint(params FetchParams, locations []db.Location) (models.MaerskPointToPoint, error)
func GetTrackedVesselsHandler ¶
func GetTrackedVesselsHandler(database *sql.DB) http.HandlerFunc
func GetVesselLastKnownPosition ¶
func GetVesselLastKnownPosition(database *sql.DB) http.HandlerFunc
func GetVesselRoute ¶
func GetVesselRoute(database *sql.DB) http.HandlerFunc
func GetVesselRouteGeoJSON ¶
func GetVesselRouteGeoJSON(database *sql.DB) http.HandlerFunc
Types ¶
type FetchParams ¶
type NominatimResponse ¶
type VesselMessageSummary ¶
type VesselMessageSummary struct { EventTypes string MMSIs float64 TimeStamp models.CustomTime }
type VesselsMessagesSummary ¶
type VesselsMessagesSummary struct { EventTypes []string MMSIs []float64 LastEvent models.CustomTime Count int }
Click to show internal directories.
Click to hide internal directories.