|
|
@@ -18,7 +18,6 @@ import "errors"
|
|
|
|
|
|
// Subscription represents a subscribe or unsubscribe notification.
|
|
|
type Subscription struct {
|
|
|
-
|
|
|
// Kind is "subscribe", "unsubscribe", "psubscribe" or "punsubscribe"
|
|
|
Kind string
|
|
|
|
|
|
@@ -31,7 +30,6 @@ type Subscription struct {
|
|
|
|
|
|
// Message represents a message notification.
|
|
|
type Message struct {
|
|
|
-
|
|
|
// The originating channel.
|
|
|
Channel string
|
|
|
|
|
|
@@ -41,7 +39,6 @@ type Message struct {
|
|
|
|
|
|
// PMessage represents a pmessage notification.
|
|
|
type PMessage struct {
|
|
|
-
|
|
|
// The matched pattern.
|
|
|
Pattern string
|
|
|
|