Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractOpenAipFile ¶
func ExtractOpenAipFile(nearestAirports *geo.NearestAirportGeocoder, d []byte) (int, error)
ExtractOpenAipFile takes an .aip files data and registers the airports
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader takes care of initializing dependencies for airtrack and processing the configuration. It is not intended to be reused for multiple runs.
type MigrateDownCmd ¶
type MigrateDownCmd struct { Config string `help:"Configuration file path"` Force bool `help:"Proceed with task without user confirmation'"` }
MigrateDownCmd - executes migrate down
type MigrateStepsCmd ¶
type MigrateStepsCmd struct { Config string `help:"Configuration file path"` Force bool `help:"Proceed with task without user confirmation'"` N int `help:"how many migrations up (if positive), or down (if negative)"` }
MigrateStepsCmd - executes n migration steps
func (*MigrateStepsCmd) Run ¶
func (c *MigrateStepsCmd) Run() error
Run - triggers migration n steps
type MigrateUpCmd ¶
type MigrateUpCmd struct { Config string `help:"Configuration file path"` Force bool `help:"Proceed with task without user confirmation'"` }
MigrateUpCmd - executes migrate up
type TrackCmd ¶
type TrackCmd struct { // Config - aircraft configuration file path Config string `help:"Configuration file path"` // Projects - List of project configuration files Projects []string `help:"Projects configuration file (may be repeated, and in addition to main configuration file)"` // Verbosity - log level to use Verbosity string `help:"Log level panic, fatal, error, warn, info, debug, trace)" default:"warn"` // CPUProfile - will start CPU profile and write result to this file path CPUProfile string `help:"Write CPU profile to file"` // HeapProfile - will run heap profiler every 10 seconds and write results to // files with this prefix suffixed by a counter. HeapProfile string `help:"Write heap profile to file"` }
TrackCmd - aircraft tracking task
Click to show internal directories.
Click to hide internal directories.