Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmazonNotification ¶
AmazonNotification is the aws sns implementation of the NotificationService
func (AmazonNotification) PublishMessage ¶
func (service AmazonNotification) PublishMessage(msg Message) (string, error)
PublishMessage sens a message to the Amazon queueing system
func (*AmazonNotification) Setup ¶
func (service *AmazonNotification) Setup()
Setup the function that must be run to prepare NotificationService for use
type Application ¶
Application is the interface to specify a notification service
type Service ¶
type Service struct { Application Application Log logger.Log }
Service is the base system for creating unique messaging services
type SimpleNotification ¶
type SimpleNotification Service
SimpleNotification is a publisher sevice that sends messages directly to a service
func (*SimpleNotification) SendJSON ¶
func (service *SimpleNotification) SendJSON(msg *Message)
SendJSON sends a strigified json object as Message to an endpoint
func (*SimpleNotification) SendSimpleMessage ¶
func (service *SimpleNotification) SendSimpleMessage(msg *Message)
SendSimpleMessage sends a string message to an endpoint
Click to show internal directories.
Click to hide internal directories.