Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection interface { // Publish single message over a specific topic/channel Publish(ctx context.Context, data interface{}, topic string) error // Close connections CloseConnection() error // Update connection UpdateConnection(ctx context.Context, data interface{}) error }
PubSub is the interface that wraps pubsub methods.
Click to show internal directories.
Click to hide internal directories.