google

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package google provides Google Drive storage.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL