Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StorageTokenSource ¶
StorageTokenSource will be used by our config.TokenSource method
Types ¶
type Config ¶
Config wraps the default oauth2.Config and adds our storage
func (*Config) TokenSource ¶
TokenSource can be passed a token which is stored, or when a new one is retrieved, that's stored
type FileStorage ¶
type FileStorage struct { Path string // contains filtered or unexported fields }
FileStorage satisfies our storage interface
Click to show internal directories.
Click to hide internal directories.