Documentation ¶
Index ¶
- func GetClient(config *oauth2.Config, fileName string) *http.Client
- func NewGoogleConfig(filePath string, scope ...string) (cfg *oauth2.Config, err error)
- func RefreshToken(ctx context.Context, config *oauth2.Config, tok *oauth2.Token, ...) oauth2.TokenSource
- func SaveToken(path string, token *oauth2.Token)
- func TokenFromFile(file string) (*oauth2.Token, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGoogleConfig ¶
func RefreshToken ¶ added in v0.2.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.