Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertMessage ¶
func UpdateMessageStatus ¶
TODO: locks for driver.Stmt (stmt) and driver.Conn (db)
Types ¶
type SMS ¶
type SMS struct { UUID string `json:"uuid"` Mobile string `json:"mobile"` Body string `json:"body"` Status string `json:"status"` Retries int `json:"retries"` }
SMS encaps a SMS message
func GetAllMessages ¶
GetAllMessages returns all messages with specified status
func GetMessageByUuid ¶
func GetPendingMessages ¶
Click to show internal directories.
Click to hide internal directories.