repo

package
v0.0.0-...-b9362b4 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OTP

type OTP struct {
	Email     string `json:"email"`
	Timestamp int64  `json:"timestamp"`
	Nonce     string `json:"nonce"`
	Mac       string `json:"mac"`
	OTP       string `json:"otp"`
}

type Repo

type Repo struct {
	Url       string `json:"url"`
	Email     string `json:"email"`
	VaultName string `json:"vaultName"`
}

func Load

func Load(dir string) *Repo

func (Repo) Pull

func (remote Repo) Pull(dir string)

func (Repo) Push

func (remote Repo) Push(dir string)

func (Repo) SetRemote

func (remote Repo) SetRemote(dir string)

type VaultFile

type VaultFile struct {
	Vault string               `json:"vault"`
	Salt  string               `json:"salt"`
	KDF   vault.ScryptSettings `json:"kdf"`
}

Jump to

Keyboard shortcuts

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