Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewManager ¶
func NewManager(logger log.Logger, config RegManagerConfig) (*manager, error)
Types ¶
type Detail ¶
type Detail struct { NNumber string `csv:"N-NUMBER"` SerialNumber string `csv:"SERIAL NUMBER"` MfrModelCode string `csv:"MFR MDL CODE"` EngMfrModel string `csv:"ENG MFR MDL"` YearMfr string `csv:"YEAR MFR"` TypeRegistratnt string `csv:"TYPE REGISTRANT"` Name string `csv:"NAME"` Street string `csv:"STREET"` Street2 string `csv:"STREET2"` City string `csv:"CITY"` State string `csv:"STATE"` ZipCode string `csv:"ZIP CODE"` Region string `csv:"REGION"` County string `csv:"COUNTY"` Country string `csv:"COUNTRY"` LastActionDate string `csv:"LAST ACTION DATE"` CertIssueDate string `csv:"CERT ISSUE DATE"` Certification string `csv:"CERTIFICATION"` TypeAircraft string `csv:"TYPE AIRCRAFT"` TypeEngine string `csv:"TYPE ENGINE"` StatusCode string `csv:"STATUS CODE"` ModeSCode string `csv:"MODE S CODE"` FractOwner string `csv:"FRACT OWNER"` AirWorthDate string `csv:"AIR WORTH DATE"` OtherNames1 string `csv:"OTHER NAMES(1)"` OtherNames2 string `csv:"OTHER NAMES(2)"` OtherNames3 string `csv:"OTHER NAMES(3)"` OtherNames4 string `csv:"OTHER NAMES(4)"` OtherNames5 string `csv:"OTHER NAMES(5)"` ExpirationDate string `csv:"EXPIRATION DATE"` UniqueID string `csv:"UNIQUE ID"` KitMfr string `csv:"KIT MFR"` KitModel string `csv:"KIT MODEL"` ModeSCodeHex string `csv:"MODE S CODE HEX"` }
type DetailLookup ¶
type RegManagerConfig ¶
func (*RegManagerConfig) RegisterFlags ¶
func (c *RegManagerConfig) RegisterFlags(f *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.