package
0.0.0-20240716132614-1643519e6f91
Repository: https://github.com/triggermail/luci-go.git
Documentation: pkg.go.dev
# Functions
NewSubscription generates a new Subscritpion for a given project and subscription name.
NewTopic generates a new Topic for a given project and topic name.
# Constants
MaxACKDeadline is the maximum acknowledgement deadline that can be applied to a leased subscription Message.
MaxProjectMessagesPerSecond is the maximum number of requests per second, across the entire project.
MaxPublishRequestBytes is the maximum size of a single publish request in bytes, as determined by the PubSub service.
MaxPublishRequestCount is the maximum PubSub batch size.
# Variables
PublisherScopes is the set of OAuth2 scopes needed for a publisher to publish messages.
SubscriberScopes is the set of OAuth2 scopes needed for a subscriber to pull and acknowledge messages.
# Structs
UnbufferedPublisher directly instantiates a Pub/Sub client and publishes a message to it.
# Interfaces
ClientFactory is passed into an UnbufferedPublisher to create or reset a client.
Publisher is a generic interface to something that can publish Pub/Sub messages.
# Type aliases
Subscription is a Pub/Sub subscription name.
Topic is a fully-qualified Pub/Sub project/topic name.