client

package
v0.0.0-...-1c17203 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADSBExchangeClient

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

func NewADSBExchangeClient

func NewADSBExchangeClient() (*ADSBExchangeClient, error)

func (*ADSBExchangeClient) FetchFlights

func (c *ADSBExchangeClient) FetchFlights(location *types.Coordinates, radius *types.Radius) (*http.Response, error)

type FR24Client

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

func NewFR24Client

func NewFR24Client() (*FR24Client, error)

func (*FR24Client) Close

func (c *FR24Client) Close() error

func (*FR24Client) FetchFlight

func (c *FR24Client) FetchFlight(flightId uint32) (*fr24.LiveFeedResponse, error)

func (*FR24Client) FetchFlights

func (c *FR24Client) FetchFlights(location *types.Coordinates, radius *types.Radius) (*fr24.NearestFlightsResponse, error)

Jump to

Keyboard shortcuts

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