gist

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GistStorage

type GistStorage struct {
	Token string
	User  string
	// contains filtered or unexported fields
}

func NewGistStorage

func NewGistStorage(user, token string) *GistStorage

func (*GistStorage) Connect

func (gs *GistStorage) Connect()

func (*GistStorage) Pull

func (gs *GistStorage) Pull(remotePath, localPath string) (err error)

Pull imports the encrypted trousseau data store from a Github gist

func (*GistStorage) Push

func (gs *GistStorage) Push(localPath, remotePath string) (err error)

Push exports the local encrypted trousseau data store to a Github private gist

Jump to

Keyboard shortcuts

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