| OLD | NEW |
| 1 // Copyright 2015 The LUCI Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package pubsub | 5 package pubsub |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 » "google.golang.org/cloud/pubsub" | 8 » "cloud.google.com/go/pubsub" |
| 9 ) | 9 ) |
| 10 | 10 |
| 11 var ( | 11 var ( |
| 12 // PublisherScopes is the set of OAuth2 scopes needed for a publisher to | 12 // PublisherScopes is the set of OAuth2 scopes needed for a publisher to |
| 13 // publish messages. | 13 // publish messages. |
| 14 PublisherScopes = []string{ | 14 PublisherScopes = []string{ |
| 15 pubsub.ScopePubSub, | 15 pubsub.ScopePubSub, |
| 16 } | 16 } |
| 17 | 17 |
| 18 // SubscriberScopes is the set of OAuth2 scopes needed for a subscriber
to | 18 // SubscriberScopes is the set of OAuth2 scopes needed for a subscriber
to |
| 19 // pull and acknowledge messages. | 19 // pull and acknowledge messages. |
| 20 SubscriberScopes = []string{ | 20 SubscriberScopes = []string{ |
| 21 pubsub.ScopePubSub, | 21 pubsub.ScopePubSub, |
| 22 } | 22 } |
| 23 ) | 23 ) |
| OLD | NEW |