airtrackqa

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Debug  bool
	Config *config.Config
}

Context - some global parameters

type DumpMigration

type DumpMigration struct {
	File   string `help:"migration file to load"`
	Driver string `help:"Database driver"`
}

DumpMigration - searches for a certain migration and

func (*DumpMigration) Run

func (e *DumpMigration) Run(ctx *Context) error

Run - searches for a certain migration and

type EmptyKml

type EmptyKml struct {
}

EmptyKml - generates an empty kml file

func (*EmptyKml) Run

func (e *EmptyKml) Run(ctx *Context) error

Run - generates an empty kml file

type NearestAirport

type NearestAirport struct {
	// Lat - the latitude
	Lat float64 `help:"latitude"`
	// Lon - the longitude
	Lon float64 `help:"longitude"`
}

NearestAirport - takes lat and lon and tries to find the nearest airport to that location

func (*NearestAirport) Run

func (na *NearestAirport) Run(ctx *Context) error

Run takes the ctx, parses location files, and attempts to reverse geocode the location

type OpenAipAirportStats

type OpenAipAirportStats struct {
	File string `help:"File path to openaip file"`
}

OpenAipAirportStats - prints a report about an openaip file

func (*OpenAipAirportStats) Run

func (o *OpenAipAirportStats) Run(ctx *Context) error

Run - prints a report about an openaip file

type TestEmail

type TestEmail struct {
	To       string `help:"send test email to"`
	Type     string `help:"notification type"`
	Sighting uint64 `help:"sighting ID"`
}

TestEmail - sends a test email for a certain sighting

func (*TestEmail) Run

func (e *TestEmail) Run(ctx *Context) error

Run - attempts to send email for a certain sighting

Jump to

Keyboard shortcuts

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