Documentation
¶
Index ¶
Constants ¶
View Source
const ( EMAIL = "email" SMS = "sms" WEB = "web" PUSH = "push" SNS = "sns" )
View Source
const ( PARSE_URL = "https://api.parse.com/1/push" PUSH_SOUND = "default" )
View Source
const ( DEFAULT_LOCALE = "en_US" DEFAULT_TIMEZONE = "GMT+0.0" )
View Source
const (
PUSH_SOUND_SNS = "default"
)
Variables ¶
View Source
var ChannelMap = map[string]func(*db.PendingItem, string, string, string){ WEB: webHandler, EMAIL: emailHandler, PUSH: pushHandler, }
Functions ¶
func IsChannelAvailable ¶
func ProcessDefaults ¶
func ProcessDefaults(user, org string)
func SendNotification ¶
func SendNotification(pending_item *db.PendingItem)
Types ¶
Click to show internal directories.
Click to hide internal directories.