Documentation ¶
Index ¶
- Constants
- func Authenticate(c *revel.Controller) revel.Result
- type App
- type Bills
- type Bingos
- type Charts
- type Entries
- type Hits
- type Login
- type Reports
- type Settings
- type Util
- func (c Util) GetCounties() revel.Result
- func (c Util) GetCurrentResidence() revel.Result
- func (c Util) GetFirstHits() revel.Result
- func (c Util) GetHitById() revel.Result
- func (c Util) GetHomeCounty() revel.Result
- func (c Util) GetHomeState() revel.Result
- func (c Util) GetResidences() revel.Result
- func (c Util) GetStateCountyCityFromZIP() revel.Result
- func (c Util) GetStatesProvinces() revel.Result
- func (c Util) SetTimeZone() revel.Result
Constants ¶
View Source
const ( // {{{ Q_BINGO_LIST = `` /* 164-byte string literal not displayed */ Q_BINGO_COUNTIES = `` /* 197-byte string literal not displayed */ )
View Source
const ( // SQL queries {{{ Q_HBS = `` /* 176-byte string literal not displayed */ Q_HBC = `` /* 155-byte string literal not displayed */ Q_BILL = `` /* 150-byte string literal not displayed */ Q_HIT_BY_ID = `` /* 195-byte string literal not displayed */ Q_BREAKDOWN_US = `` /* 210-byte string literal not displayed */ Q_BREAKDOWN_CA = `` /* 151-byte string literal not displayed */ Q_BREAKDOWN_OTHER = `` /* 170-byte string literal not displayed */ Q_REGION_BREAKDOWN_US = `` /* 214-byte string literal not displayed */ Q_REGION_BREAKDOWN_INTL = `` /* 152-byte string literal not displayed */ S_INSERT_BILL = `insert into bills (serial, series, denomination, rptkey, residence)values($1, $2, $3, $4, $5)` S_INSERT_HIT = `insert into hits (bill_id, country, state, county%s, city, zip, entdate) values ($1, $2, $3, $4, $5, $6, $7%s)` S_UPDATE_HIT = `update hits set country=$1, state=$2, county=$3, county_id=$4, city=$5, zip=$6, entdate=$7 where id=$8` START_YEAR = 2003 )
View Source
const ( ERR_NO_USER = "No username specified" ERR_NO_PASS = "No password specified" ERR_BAD_USER_PASS = "You supplied an incorrect username and/or password." ERR_SYSTEM_ERROR = "A system error occurred when trying to validate your credentials." )
View Source
const ( DATE_LIST_YEAR = 2000 DATE_LIST_LAYOUT = `2006-01-02` )
View Source
const SQL_BILL_BY_ID = `select id, serial, series, denomination, rptkey, residence from bills where id=$1`
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(c *revel.Controller) revel.Result
Types ¶
type App ¶
type App struct {
*revel.Controller
}
type Bills ¶
type Bills struct {
*revel.Controller
}
type Bingos ¶
type Bingos struct {
*revel.Controller
}
type Charts ¶
type Charts struct {
*revel.Controller
}
type Entries ¶
type Entries struct {
*revel.Controller
}
type Hits ¶
type Hits struct {
*revel.Controller
}
type Login ¶
type Login struct {
*revel.Controller
}
type Reports ¶
type Reports struct {
*revel.Controller
}
func (Reports) HitsCalendar ¶
func (Reports) Last50Counts ¶
func (Reports) MasterStats ¶
func (Reports) TopCounties ¶
type Settings ¶
type Settings struct {
*revel.Controller
}
type Util ¶
type Util struct {
*revel.Controller
}
func (Util) GetCounties ¶
func (Util) GetCurrentResidence ¶
func (Util) GetFirstHits ¶
func (Util) GetHitById ¶
func (Util) GetHomeCounty ¶
func (Util) GetHomeState ¶
func (Util) GetResidences ¶
func (Util) GetStateCountyCityFromZIP ¶
func (Util) GetStatesProvinces ¶
func (Util) SetTimeZone ¶
Click to show internal directories.
Click to hide internal directories.