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

Side by Side Diff: go/src/infra/monorail/monorail.go

Issue 2037143002: Monorail client in Go (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
(Empty)
1 // Copyright 2016 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 monorail
6
7 import "fmt"
8
9 // AuthScope is OAuth 2.0 auth scope used by Monorail.
10 const AuthScope = "https://www.googleapis.com/auth/userinfo.email"
11
12 // LabelRestrictViewGoogle specifies that an issue must be visible to googlers o nly.
13 const LabelRestrictViewGoogle = "Restrict-View-Google"
14
15 var errGrpcOptions = fmt.Errorf("options are not supported")
16
17 // IssueURL returns a URL to human-consumable HTML page for the issue.
18 func IssueURL(host, project string, id int32) string {
19 return fmt.Sprintf("https://%s/p/%s/issues/detail?id=%d", host, project, id)
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698