Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type License ¶
type License struct { LicenseID uint32 SourceSystem string Callsign string FacilityID *uint32 FRN *uint64 LicName string CommonName string RadioServiceCode string RadioServiceDesc string RollupCategoryCode string RollupCategoryDesc string GrantDate *time.Time ExpiredDate *time.Time CancellationDate *time.Time LastActionDate *time.Time LicStatusCode string LicStatusDesc string RollupStatusCode string RollupStatusDesc string EntityTypeCode string EntityTypeDesc string RollupEntityCode string RollupEntityDesc string LicAddress string LicCity string LicState string LicZipCode string }
License is a struct representing fields of the FCC license database dump of interest to amateur radio operators.
func ParseLicense ¶
ParseLicense takes a license CSV parsed into a string and generates an *fcc.License{}.
func (*License) Minimal ¶
func (l *License) Minimal() MinimalLicense
Minimal returns a MinimalLicense.
type MinimalLicense ¶
MinimalLicense is a struct that represents the subset of license data stored to database for fast lookups.
func ReadRecord ¶
func ReadRecord(record []byte) MinimalLicense
ReadRecord reads a database record from boltdb and returns a MinimalLicense.
func (*MinimalLicense) DiskFormat ¶
func (m *MinimalLicense) DiskFormat() []byte
DiskFormat converts a MinimalLicense to its on-disk format.
Click to show internal directories.
Click to hide internal directories.