databaselookup

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	CachedResults *cachedresults.Cache
}

func (Source) GetName

func (s Source) GetName() string

func (Source) JourneyQuery

func (s Source) JourneyQuery(journeyQuery query.Journey) (*ctdf.Journey, error)

func (Source) Lookup

func (s Source) Lookup(q any) (interface{}, error)

func (Source) OperatorGroupQuery

func (s Source) OperatorGroupQuery(q query.OperatorGroup) (*ctdf.OperatorGroup, error)

func (Source) OperatorQuery

func (s Source) OperatorQuery(operatorQuery query.Operator) (*ctdf.Operator, error)

func (Source) RealtimeJourneyQuery

func (s Source) RealtimeJourneyQuery(q query.RealtimeJourney) (*ctdf.RealtimeJourney, error)

func (Source) ServiceAlertsForMatchingIdentifiersQuery

func (s Source) ServiceAlertsForMatchingIdentifiersQuery(q query.ServiceAlertsForMatchingIdentifiers) ([]*ctdf.ServiceAlert, error)

func (Source) ServiceQuery

func (s Source) ServiceQuery(q query.Service) (*ctdf.Service, error)

func (Source) ServicesByStopQuery

func (s Source) ServicesByStopQuery(q query.ServicesByStop) ([]*ctdf.Service, error)

func (*Source) Setup

func (s *Source) Setup()

func (Source) StopGroupQuery

func (s Source) StopGroupQuery(stopQuery query.StopGroup) (*ctdf.StopGroup, error)

func (Source) StopQuery

func (s Source) StopQuery(stopQuery query.Stop) (*ctdf.Stop, error)

func (Source) Supports

func (s Source) Supports() []reflect.Type

Jump to

Keyboard shortcuts

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