qrz/types.go
2019-09-07 11:58:52 +02:00

27 lines
533 B
Go

package main
// Config is the global config of g2g
type Config struct {
DbHostname string
DbName string
DbUsername string
DbPassword string
DbSchema string
DbTable string
DbInsertStatement string
FrsConfig struct {
URL string
XPath string
Regex string
}
}
// FrsEntry describe FRS people
type FrsEntry struct {
QRZ string `db:"qrz"`
Name string `db:"name"`
City string `db:"city"`
Dept string `db:"dept"`
Country string `db:"country"`
}