Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Side by Side Diff: common/gcloud/pubsub/scopes.go

Issue 1838303002: Use native Pub/Sub library primitives. (Closed) Base URL: https://github.com/luci/luci-go@logdog-go1.6
Patch Set: Use "Topic" instead of "NewTopic" ... don't want to create :) Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « common/gcloud/pubsub/retry.go ('k') | common/gcloud/pubsub/subscriber/source.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package pubsub
6
7 import (
8 "google.golang.org/cloud/pubsub"
9 )
10
11 var (
12 // PublisherScopes is the set of OAuth2 scopes needed for a publisher to
13 // publish messages.
14 PublisherScopes = []string{
15 pubsub.ScopePubSub,
16 }
17
18 // SubscriberScopes is the set of OAuth2 scopes needed for a subscriber to
19 // pull and acknowledge messages.
20 SubscriberScopes = []string{
21 pubsub.ScopePubSub,
22 }
23 )
OLDNEW
« no previous file with comments | « common/gcloud/pubsub/retry.go ('k') | common/gcloud/pubsub/subscriber/source.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698