Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents the data for sending notifications to the user.
type Notifier ¶
type Notifier interface { // Send sends a notification to the services with // a message indicating what URL and element // has changed. // Returns errors.INTERNAL if the message could not be sent. Send(url, prev, now string) error }
Notifier defines the behavior for notification services. The Send function sends a URL with previous and element that is now on the page.
Click to show internal directories.
Click to hide internal directories.