sched

package
v0.16.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScheduleChecker

type ScheduleChecker struct {
	// contains filtered or unexported fields
}

func NewScheduleChecker

func NewScheduleChecker() *ScheduleChecker

func (*ScheduleChecker) ActiveTrips

func (fi *ScheduleChecker) ActiveTrips(now time.Time) []string

func (*ScheduleChecker) Validate

func (fi *ScheduleChecker) Validate(ent tl.Entity) []error

Validate gets a stream of entities from Copier to build up the cache.

Jump to

Keyboard shortcuts

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