Documentation ¶
Index ¶
- func GetTokenFromWeb(config *oauth2.Config) (*oauth2.Token, error)
- func GoogleConfigFromEnvVar(key string) (*oauth2.Config, error)
- func GoogleConfigFromPath(path string) (*oauth2.Config, error)
- func LoadToken(path string) (*oauth2.Token, error)
- func LoadTokenFromEnv(key string) (*oauth2.Token, error)
- func SaveToken(path string, token *oauth2.Token) error
- func TokenFromReader(r io.Reader) (*oauth2.Token, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTokenFromWeb ¶
Request a token from the web, then returns the retrieved token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.