Documentation ¶
Overview ¶
Package user implements a mutex-protected user store (containing metadata, credentials, and job queue) that is persisted to disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Queue *jobqueue.Queue Sub string Token *oauth2.Token Drive *drive.Service Default bool Name string // full name, e.g. “Michael Stapelberg” Picture string // profile picture URL // contains filtered or unexported fields }
func LoadFromDir ¶
func (*Account) Folder ¶
func (a *Account) Folder() scan2drive.DriveFolder
type Locked ¶
type Locked struct {
// contains filtered or unexported fields
}
func (*Locked) UpdateFromDir ¶
func (*Locked) UserByName ¶
Click to show internal directories.
Click to hide internal directories.