Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct { ID string `json:"id"` Service string `json:"service"` Topic string `json:"topic"` Body string `json:"body"` Date time.Time `json:"timestamp"` }
Notification ...
func NewNotification ¶
func NewNotification(service, topic, body string) *Notification
NewNotification creates a new Notification!
Click to show internal directories.
Click to hide internal directories.