selfpass/credentials/commands/commands.go
mitchell c5ae0b4ddc Implemented all but update from cli client to server;
solidified encryption;
setup deployment mechanism for GCP
2019-05-27 18:16:50 -07:00

21 lines
300 B
Go

package commands
import (
"context"
"fmt"
"os"
"github.com/mitchell/selfpass/credentials/types"
)
type CredentialClientInit func(ctx context.Context) (c types.CredentialClient)
func check(err error) {
if err != nil {
fmt.Println(err)
os.Exit(1)
}
}
const KeyPrivateKey = "private_key"