Documentation ¶ Index ¶ type Notifier func New(target string) Notifier Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Notifier ¶ type Notifier interface { // Send delivers the given message string to this Notifier; returns nil on success or non-nil in case of an error Send(message string) error } Notifier defines the contract for receivers of incoming push notifications func New ¶ func New(target string) Notifier New returns a default implementation of Notifier Source Files ¶ View all Source files notify.gosns.go Click to show internal directories. Click to hide internal directories.