internal

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package internal contains utilities internal to the weasel packages.

Index

Constants

This section is empty.

Variables

View Source
var AETokenSource = func(ctx context.Context, scope ...string) oauth2.TokenSource {
	ts, err := google.DefaultTokenSource(ctx, scope...)
	if err != nil {
		panic(err)
	}
	return ts
}

AETokenSource returns App Engine OAuth2 token source given a context.Context and a slice of scopes. It is a stubbed static token source during testing.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL