Documentation ¶
Index ¶
- Constants
- func EnqueueMessage(message *SMS, insertToDB bool)
- func GetConfig(configFilePath string) (ini.File, error)
- func GetLast7DaysMessageCount() (map[string]int, error)
- func GetStatusSummary() ([]int, error)
- func InitDB(driver, dbname string) (*sql.DB, error)
- func InitWorker(modems []*modem.GSMModem, ...)
- type SMS
Constants ¶
View Source
const ( SMSPending = iota // 0 SMSProcessed // 1 SMSError // 2 )
View Source
const SMSRetryLimit = 3
TODO: should be configurable
Variables ¶
This section is empty.
Functions ¶
func EnqueueMessage ¶
func GetStatusSummary ¶
func InitWorker ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.