Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // Message is the message body Message string // Recepients is the list of recepients Recepients []string // Subject is the message subject Subject *string // Template is the message template Template *template.Template }
Message is a message for a channel
type ReadWriter ¶
ReadWriter is used to read and write messages to a queue
type Reader ¶
type Reader interface { // Pop returns and removes the next message from the queue Pop(channel string) (string, error) }
Reader is used to read messages from a queue
Click to show internal directories.
Click to hide internal directories.