Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Adapter ¶
type Adapter interface { // Parses requested command Parse(r *http.Request) (Command, error) // Sends formatted response SendResponse(content string, w http.ResponseWriter) }
Adapter encapsulates integration with the notification service
type Command ¶
type Command struct { Recipient string ListSubscriptions *ListSubscriptions Subscribe *UpdateSubscription Unsubscribe *UpdateSubscription }
type ListSubscriptions ¶
type ListSubscriptions struct { }
type UpdateSubscription ¶
Click to show internal directories.
Click to hide internal directories.