Documentation
¶
Overview ¶
Package pubsub contains tools for interacting with GCP pub/sub
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Messenger ¶
Messenger defines the interface for sending messages to a relay destination.
func NewPubSubMessenger ¶
func NewPubSubMessenger(ctx context.Context, projectID, topicID string, opts ...option.ClientOption) (Messenger, error)
NewPubSubMessenger creates a new instance of the PubSubMessenger.
type PubSubMessenger ¶
type PubSubMessenger struct {
// contains filtered or unexported fields
}
PubSubMessenger implements the Messenger interface for Google Cloud pubsub.
Click to show internal directories.
Click to hide internal directories.