Documentation ¶
Index ¶
- Constants
- Variables
- type Auth
- type Config
- func (self *Config) WithAuthPrivateKey(authPrivateKey []byte) *Config
- func (self *Config) WithAuthScope(authScope string) *Config
- func (self *Config) WithAuthTokenURI(authTokenURI string) *Config
- func (self *Config) WithProjectClientEmail(projectClientEmail string) *Config
- func (self *Config) WithProjectId(projectId string) *Config
Constants ¶
View Source
const ( ProjectId string = "" ProjectClientId string = "" ProjectClientEmail string = "" )
View Source
const ( AuthScope string = "https://www.googleapis.com/auth/devstorage.read_write" AuthTokenURI string = "https://accounts.google.com/o/oauth2/token" )
View Source
const (
TokenCacheKey string = "oauth-token"
)
Variables ¶
View Source
var (
AuthPrivateKey = []byte(``)
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ProjectId string ProjectClientEmail string AuthScope string AuthTokenURI string AuthPrivateKey []byte // contains filtered or unexported fields }
func (*Config) WithAuthPrivateKey ¶
func (*Config) WithAuthScope ¶
func (*Config) WithAuthTokenURI ¶
func (*Config) WithProjectClientEmail ¶
func (*Config) WithProjectId ¶
Click to show internal directories.
Click to hide internal directories.