airlines

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 RegisterAirlinesLookup

func RegisterAirlinesLookup(ctx context.Context, scheme string, init_func AirlinesLookupInitializationFunc) error

Types

type AirlinesLookup

type AirlinesLookup interface {
	airfield.Lookup
}

func NewAirlinesLookup

func NewAirlinesLookup(ctx context.Context, uri string) (AirlinesLookup, error)

type AirlinesLookupInitializationFunc

type AirlinesLookupInitializationFunc func(ctx context.Context, uri string) (AirlinesLookup, 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