flights

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMultipleCandidates added in v0.3.0

func IsMultipleCandidates(e error) bool

func IsNotFound added in v0.3.0

func IsNotFound(e error) bool

func RegisterFlightsLookup

func RegisterFlightsLookup(ctx context.Context, scheme string, init_func FlightsLookupInitializationFunc) error

func TailNumbersFromIterator added in v0.4.0

func TailNumbersFromIterator(ctx context.Context, iterator_uri string, iterator_sources ...string) ([]string, error)

TailNumbersFromIterator will return the unique set of `swim:tail_number` values from one or more whosonfirst/go-whosonfirst-iterate sources for SFO Museum flight data.

Types

type FlightsLookup

type FlightsLookup interface {
	airfield.Lookup
}

func NewFlightsLookup

func NewFlightsLookup(ctx context.Context, uri string) (FlightsLookup, error)

type FlightsLookupInitializationFunc

type FlightsLookupInitializationFunc func(ctx context.Context, uri string) (FlightsLookup, error)

type MultipleCandidates added in v0.3.0

type MultipleCandidates struct{ Code string }

func (MultipleCandidates) Error added in v0.3.0

func (e MultipleCandidates) Error() string

func (MultipleCandidates) String added in v0.3.0

func (e MultipleCandidates) String() string

type NotFound added in v0.3.0

type NotFound struct{ Code string }

func (NotFound) Error added in v0.3.0

func (e NotFound) Error() string

func (NotFound) String added in v0.3.0

func (e NotFound) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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