Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationConnection ¶
type NotificationConnection interface {
// Listen starts listening a channel
Listen(channel string) error
// Unlisten stops listening a channel
Unlisten(channel string) error
// Close closes the connection
Close() error
// NotificationChannel returns channel for receiving notifications
NotificationChannel() <-chan *pq.Notification
}
NotificationConnection is a connection for listening for notifications
Click to show internal directories.
Click to hide internal directories.