Documentation ¶
Index ¶
Constants ¶
View Source
const TOKEN = "9c8f97e57b9a5ea6dae59e9762c4deb801fc6b91"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GistStorage ¶
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
Click to show internal directories.
Click to hide internal directories.