match

package
v0.0.0-...-fa793e7 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alert

func Alert(real *source.Disruption, static *schedules.Package, stats *Stats, disruptionTypes map[string]string) *fact.Alert

func Alerts

func Alerts(real *source.Disruptions, static *schedules.Package, stats *Stats) *fact.Container

func Trip

func Trip(real source.TrainID, static *schedules.Package) *schedules.Trip

func TripSelectors

func TripSelectors(real source.TrainID, static *schedules.Package) []fact.TripSelector

func TripUpdate

func TripUpdate(real *source.OperationTrain, static *schedules.Package, stats *Stats) []*fact.TripUpdate

func TripUpdates

func TripUpdates(real *source.Operations, static *schedules.Package, stats *Stats) *fact.Container

Types

type Stats

type Stats struct {
	Matched          uint
	Unmatched        uint
	OutsideFeedDates uint
}

func (*Stats) Add

func (s *Stats) Add(o Stats)

func (Stats) String

func (s Stats) String() string

Jump to

Keyboard shortcuts

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