func tweet(message string, subtopic string, interval int64) { log.Println("Sending tweet", message) services.SendAlert(message, "twitter", subtopic, interval) }
func (self EventAction) Alert(message string, target string) { message = self.substitute(message) log.Printf("%s: %s", strings.Title(target), message) services.SendAlert(message, target, "", 0) }