googledriveblobstore

package
v0.0.0-...-ea0be71 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Writes your blobs to Google Drive

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(optsSerialized string, logger *log.Logger) (*googledrive, error)

func Oauth2AuthCodeUrl

func Oauth2AuthCodeUrl(conf *oauth2.Config) string

func Oauth2Config

func Oauth2Config(clientId string, clientSecret string) *oauth2.Config

Types

type Config

type Config struct {
	VarastoDirectoryId string        `json:"directory_id"`
	ClientId           string        `json:"oauth2_client_id"`
	ClientSecret       string        `json:"oauth2_client_secret"`
	Token              *oauth2.Token `json:"oauth2_token"`
}

func (*Config) Serialize

func (c *Config) Serialize() (string, error)

Jump to

Keyboard shortcuts

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