airly

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultEndpoint = Endpoint("https://airapi.airly.eu")

Functions

This section is empty.

Types

type Endpoint

type Endpoint string

func (Endpoint) GetAirly

func (e Endpoint) GetAirly(installation *pb.Installation) (*pb.Airly, error)

GetAirly queries external API and parses response

func (Endpoint) GetInstallation

func (e Endpoint) GetInstallation(id uint) (*pb.Installation, error)

GetInstallation returns full details about installation with given ID

func (Endpoint) NearestInstallation

func (e Endpoint) NearestInstallation(location *pb.InstallationLocation) (*pb.Installation, error)

NearestInstallation for given location.

Jump to

Keyboard shortcuts

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