dropbox

package
v0.0.0-...-9b95192 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 15 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 {
	Token        string `json:"token"`
	BaseDir      string `json:"base_dir"`
	ClientID     string `json:"client_id"`
	ClientSecret string `json:"client_secret"`
	RedirectURL  string `json:"redirect_uri"`
}

type Store

type Store struct {
	// contains filtered or unexported fields
}

func New

func New(conf Config) *Store

func (*Store) GetConfig

func (s *Store) GetConfig() string

func (*Store) Init

func (s *Store) Init(conf string) error

func (*Store) Login

func (s *Store) Login(code string) (string, error)

func (*Store) Name

func (s *Store) Name() string

func (*Store) Save

func (s *Store) Save(post *garoo.Post) error

Jump to

Keyboard shortcuts

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