Documentation
¶
Index ¶
- type Flic
- type FlicAnalytics
- type FlicList
- type FlicManager
- func (m *FlicManager) FindFlicByKey(req *FlicRequest) (bool, *Flic)
- func (m *FlicManager) FindFlicListByZip(req *FlicRequest) (bool, *[]FlicList)
- func (m *FlicManager) GetNew() Manager
- func (m *FlicManager) InitialBqTableName() bool
- func (m *FlicManager) SetTableName(table string) bool
- func (m *FlicManager) ValidateUser(req *FlicRequest) bool
- type FlicRequest
- type Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flic ¶
type Flic struct {
Key string `json:"id"`
Lic string `json:"license"`
ExpDate time.Time `json:"expDate"`
LicName string `json:"licenseName"`
BusName string `json:"businessName"`
PremiseAddress string `json:"premiseAddress"`
Address string `json:"address"`
City string `json:"city"`
State string `json:"state"`
PremiseZip string `json:"premiseZip"`
MailingAddress string `json:"mailingAddress"`
Phone string `json:"phone"`
}
Flic Flic
type FlicAnalytics ¶
type FlicAnalytics struct {
CustomerKey string `bigquery:"customer_key"`
APIKey string `bigquery:"api_key"`
Domain string `bigquery:"domain"`
Entered time.Time `bigquery:"entered"`
Success bool `bigquery:"success"`
SearchType string `bigquery:"type_search"`
}
FlicAnalytics FlicAnalytics
type FlicList ¶
type FlicList struct {
Key string `json:"id"`
LicName string `json:"licenseName"`
BusName string `json:"businessName"`
PremiseAddress string `json:"premiseAddress"`
}
FlicList FlicList
type FlicManager ¶
type FlicManager struct {
FlicDB db.FlicDB
Log *lg.Logger
AnalyticPusher ph.AnalyticPusher
Puller pu.Puller
GcpProject string //= "august-gantry-192521"
DatasetName string // = "ulboralabs"
Table string
}
FlicManager FlicManager
func (*FlicManager) FindFlicByKey ¶
func (m *FlicManager) FindFlicByKey(req *FlicRequest) (bool, *Flic)
FindFlicByKey FindFlicByKey
func (*FlicManager) FindFlicListByZip ¶
func (m *FlicManager) FindFlicListByZip(req *FlicRequest) (bool, *[]FlicList)
FindFlicListByZip FindFlicListByZip
func (*FlicManager) InitialBqTableName ¶
func (m *FlicManager) InitialBqTableName() bool
InitialBqTableName InitialBqTableName
func (*FlicManager) SetTableName ¶
func (m *FlicManager) SetTableName(table string) bool
SetTableName SetTableName
func (*FlicManager) ValidateUser ¶
func (m *FlicManager) ValidateUser(req *FlicRequest) bool
ValidateUser ValidateUser
type FlicRequest ¶
FlicRequest FlicRequest
type Manager ¶
type Manager interface {
FindFlicListByZip(req *FlicRequest) (bool, *[]FlicList)
FindFlicByKey(req *FlicRequest) (bool, *Flic)
SetTableName(table string) bool
ValidateUser(req *FlicRequest) bool
InitialBqTableName() bool
}
Manager Manager
Click to show internal directories.
Click to hide internal directories.