Documentation
¶
Overview ¶
Copyright 2023 The ChromiumOS Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Copyright 2023 The ChromiumOS Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Context = context.Background()
)
Functions ¶
func AuthenticatedHTTPClient ¶
Return an authenticated HTTP client. Must be called after Init.
func AuthenticatedTokenSource ¶
func AuthenticatedTokenSource() (oauth2.TokenSource, error)
Return an authenticated TokenSource. Must be called after Init.
func MustUnmarshalInput ¶
func MustUnmarshalInput(v interface{})
Unmarshal input into the given type or die.
func SetAuthScopes ¶
func SetAuthScopes(scopes ...string)
Set the auth scopes. Must be called before Init.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.