rcsnooper

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RCloneConfigPath string
	DriveBackendName string
	CryptBackendName string
}

type Controller

type Controller struct {
	Conf Config
	// rclone config
	Drive DriveBackend
	Crypt CryptBackend
}

func New

func New(conf Config) (rcsnooper *Controller, err error)

func (*Controller) Summary

func (c *Controller) Summary() string

type CryptBackend added in v0.2.0

type CryptBackend struct {
	Options    crypt.Options
	RemoteName string
	PathPrefix string
	Cipher     *crypt.Cipher
}

type DriveBackend

type DriveBackend struct {
	Options      drive.Options
	ClientID     string
	ClientSecret string
	Token        *oauth2.Token
}

Jump to

Keyboard shortcuts

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