Documentation ¶ Overview ¶ Package google provides Google Drive storage. Index ¶ type Config func (config *Config) Open() (storage.Storage, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { xoauth2.Config `mapstructure:",squash"` // Path is our base path. Path string `mapstructure:"path"` // CacheSize for the file ID cache. Defaults to 1024. CacheSize int `mapstructure:"cache_size"` } Config for Google Drive. func (*Config) Open ¶ func (config *Config) Open() (storage.Storage, error) Open Google Drive storage. Source Files ¶ View all Source files config.go storage.go util.go Click to show internal directories. Click to hide internal directories.