Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheFile ¶
type CacheFile string
CacheFile implements Cache. Its value is the name of the file in which the Token is stored in JSON format.
type CallbackStatus ¶
type CallbackStatus struct {
// contains filtered or unexported fields
}
CallbackStatus is returned from the oauth2 callback
type ClientConfig ¶
type ClientConfig struct { ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` RedirectURIs []string `json:"redirect_uris"` AuthURI string `json:"auth_uri"` TokenURI string `json:"token_uri"` ProjectID string `json:"project_id"` }
ClientConfig is a data structure definition for the client_secrets.json file. The code unmarshals the JSON configuration file into this structure.
type Config ¶
type Config struct { Installed ClientConfig `json:"installed"` Web ClientConfig `json:"web"` }
Config is a root-level configuration object.
Click to show internal directories.
Click to hide internal directories.