Documentation ¶
Index ¶
- Variables
- func CheckSession(userID int) error
- func Create(s CRUD) (interface{}, error)
- func Delete(s CRUD) error
- func List(l Lister) (interface{}, error)
- func Page(p Pager) (interface{}, error)
- func Read(r Reader) (interface{}, error)
- func SaltAndHash(pwd string) []byte
- func Update(s CRUD) (interface{}, error)
- func VerifyPassword(username, password string) (interface{}, error)
- type BillSheet
- func (s *BillSheet) CollectRows(rows *mysql.Rows, coll []*app.BillSheetItem) error
- func (s *BillSheet) Create(db *mysql.DB) (interface{}, error)
- func (s *BillSheet) Delete(db *mysql.DB) error
- func (s *BillSheet) GetAuthLevel(db *mysql.DB, specialist int) (int, error)
- func (s *BillSheet) GetUnitRate(db *mysql.DB, serviceCode int) (float64, error)
- func (s *BillSheet) IsDuplicateEntry(db *mysql.DB, payload *app.BillSheetPayload, formattedDate string) (bool, error)
- func (s *BillSheet) IsLegalDate(db *mysql.DB, payload *app.BillSheetPayload) (bool, string, error)
- func (s *BillSheet) List(db *mysql.DB) (interface{}, error)
- func (s *BillSheet) Page(db *mysql.DB) (interface{}, error)
- func (s *BillSheet) Update(db *mysql.DB) (interface{}, error)
- func (s *BillSheet) UpdateUnitBlock(db *mysql.DB, payload *app.BillSheetPayload, currentRecordUnits float64) error
- type CRUD
- type Consumer
- func (s *Consumer) CollectRows(db *mysql.DB, rows *mysql.Rows, coll []*app.ConsumerItem) error
- func (s *Consumer) Create(db *mysql.DB) (interface{}, error)
- func (s *Consumer) Delete(db *mysql.DB) error
- func (s *Consumer) GetServiceCodes(db *mysql.DB, id int) ([]*app.UnitBlockItem, error)
- func (s *Consumer) List(db *mysql.DB) (interface{}, error)
- func (s *Consumer) Page(db *mysql.DB) (interface{}, error)
- func (s *Consumer) SetServiceCodes(db *mysql.DB, consumer int, serviceCodes []*app.UnitBlockItem) ([]*app.UnitBlockItem, error)
- func (s *Consumer) Update(db *mysql.DB) (interface{}, error)
- type County
- func (c *County) Create(db *mysql.DB) (interface{}, error)
- func (c *County) Delete(db *mysql.DB) error
- func (c *County) List(db *mysql.DB) (interface{}, error)
- func (c *County) Page(db *mysql.DB) (interface{}, error)
- func (c *County) Read(db *mysql.DB) (interface{}, error)
- func (c *County) Update(db *mysql.DB) (interface{}, error)
- type DIA
- type FundingSource
- func (s *FundingSource) Create(db *mysql.DB) (interface{}, error)
- func (s *FundingSource) Delete(db *mysql.DB) error
- func (s *FundingSource) List(db *mysql.DB) (interface{}, error)
- func (s *FundingSource) Page(db *mysql.DB) (interface{}, error)
- func (s *FundingSource) Update(db *mysql.DB) (interface{}, error)
- type Hasher
- type Lister
- type PageQuery
- type Pager
- type PayHistory
- type Reader
- type ServiceCode
- type Specialist
- func (s *Specialist) AddPayHistoryEntry(db *mysql.DB, id int64, payrate float64) error
- func (s *Specialist) CollectRows(rows *mysql.Rows, coll []*app.SpecialistItem) error
- func (s *Specialist) Create(db *mysql.DB) (interface{}, error)
- func (s *Specialist) Delete(db *mysql.DB) error
- func (s *Specialist) List(db *mysql.DB) (interface{}, error)
- func (s *Specialist) Page(db *mysql.DB) (interface{}, error)
- func (s *Specialist) Read(db *mysql.DB) (interface{}, error)
- func (s *Specialist) Update(db *mysql.DB) (interface{}, error)
- type Status
- type Verifier
Constants ¶
This section is empty.
Variables ¶
View Source
var RecordsPerPage = 50
View Source
var SessionLength = 3600
Functions ¶
func CheckSession ¶
func SaltAndHash ¶
func VerifyPassword ¶
Types ¶
type BillSheet ¶
func NewBillSheet ¶
func NewBillSheet(payload interface{}) *BillSheet
func (*BillSheet) CollectRows ¶
func (*BillSheet) GetAuthLevel ¶
func (*BillSheet) GetUnitRate ¶
func (*BillSheet) IsDuplicateEntry ¶
func (*BillSheet) IsLegalDate ¶
func (*BillSheet) UpdateUnitBlock ¶
type Consumer ¶
func NewConsumer ¶
func NewConsumer(payload interface{}) *Consumer
func (*Consumer) CollectRows ¶
func (*Consumer) GetServiceCodes ¶
func (*Consumer) SetServiceCodes ¶
func (s *Consumer) SetServiceCodes(db *mysql.DB, consumer int, serviceCodes []*app.UnitBlockItem) ([]*app.UnitBlockItem, error)
type FundingSource ¶
func NewFundingSource ¶
func NewFundingSource(payload interface{}) *FundingSource
type PayHistory ¶
func NewPayHistory ¶
func NewPayHistory(payload interface{}) *PayHistory
type ServiceCode ¶
func NewServiceCode ¶
func NewServiceCode(payload interface{}) *ServiceCode
type Specialist ¶
func NewSpecialist ¶
func NewSpecialist(payload interface{}) *Specialist
func (*Specialist) AddPayHistoryEntry ¶
Add an entry to the pay_history table with the initial payrate.
func (*Specialist) CollectRows ¶
func (s *Specialist) CollectRows(rows *mysql.Rows, coll []*app.SpecialistItem) error
Click to show internal directories.
Click to hide internal directories.