gist

package
v0.0.0-...-5815c51 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const TOKEN = "9c8f97e57b9a5ea6dae59e9762c4deb801fc6b91"

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