Documentation ¶
Index ¶
- func CheckOnline() bool
- func GetClient(ctx context.Context, config *oauth2.Config, systemKeyring bool) (*http.Client, error)
- func GetConfig(clientID string) (*oauth2.Config, error)
- func GetGMailCount(ctx context.Context, channel chan<- string, acc accounts.Account, ...)
- func SetConfig(clientID, filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClient ¶
func GetClient(ctx context.Context, config *oauth2.Config, systemKeyring bool) (*http.Client, error)
Retrieve a token, saves the token, then returns the generated client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.