Documentation ¶ Index ¶ type Service func NewService(api wrapper.SNSAPI, topic string) Service Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service interface { //NotifyTopic send a notification to a defined topic NotifyTopic(text string) error //NotifyMobile send a notification to a mobile phone NotifyMobile(text string, phone string) error } Service provide operations for notification func NewService ¶ func NewService(api wrapper.SNSAPI, topic string) Service NewService builds a new notification service Source Files ¶ View all Source files notification.go Directories ¶ Show internal Expand all Path Synopsis mock Package mock_notification is a generated GoMock package. Package mock_notification is a generated GoMock package. Click to show internal directories. Click to hide internal directories.