Documentation ¶
Overview ¶
Google Cloud PubSub implemenation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gcloud ¶
type Gcloud struct {
// contains filtered or unexported fields
}
Gcloud is an implementation of Publisher/Subscriber for Google Cloud Pubsub
func (*Gcloud) Publish ¶
Publish implements the Publisher interface for publishing a message on a Google Cloud Pubsub topic.
func (*Gcloud) PublishUntilComplete ¶
PublishUntilComplete is similar to Publish, but is a blocking call as it uses `.Get()`, it will also return any error that occurs
type Option ¶
type Option func(*Gcloud)
Option configures a Gcloud instance
func WithLogger ¶
WithLogger returns an Option to configure the logger
func WithSubName ¶
WithSubName returns an Option to configure subscription name
Click to show internal directories.
Click to hide internal directories.