aircraft

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: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMultipleCandidates added in v0.2.0

func IsMultipleCandidates(e error) bool

func IsNotFound added in v0.2.0

func IsNotFound(e error) bool

func RegisterAircraftLookup

func RegisterAircraftLookup(ctx context.Context, scheme string, init_func AircraftLookupInitializationFunc) error

Types

type AircraftLookup

type AircraftLookup interface {
	airfield.Lookup
}

func NewAircraftLookup

func NewAircraftLookup(ctx context.Context, uri string) (AircraftLookup, error)

type AircraftLookupInitializationFunc

type AircraftLookupInitializationFunc func(ctx context.Context, uri string) (AircraftLookup, error)

type MultipleCandidates added in v0.2.0

type MultipleCandidates struct{ Code string }

func (MultipleCandidates) Error added in v0.2.0

func (e MultipleCandidates) Error() string

func (MultipleCandidates) String added in v0.2.0

func (e MultipleCandidates) String() string

type NotFound added in v0.2.0

type NotFound struct{ Code string }

func (NotFound) Error added in v0.2.0

func (e NotFound) Error() string

func (NotFound) String added in v0.2.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