stackube/vendor/github.com/howeyc/gopass
Pengfei Ni b9bf13f065 Add stackube proxy
- Adds stackube proxy which listens on endpoints, services and
  namespaces, creates load balancer rules for clusterIP service
- Switch to govendor for managing vendors
- Add hack scripts for verifying govet and gofmt

Change-Id: I8594c16d294f46ae0d3dec6dae6fa491e7891b8b
Implements: blueprint stackube-proxy
2017-07-20 16:21:59 +08:00
..
LICENSE.txt Add framework of auth-controller 2017-06-22 18:16:27 +08:00
OPENSOLARIS.LICENSE Add framework of auth-controller 2017-06-22 18:16:27 +08:00
pass.go Add framework of auth-controller 2017-06-22 18:16:27 +08:00
README.md Add framework of auth-controller 2017-06-22 18:16:27 +08:00
terminal_solaris.go Add framework of auth-controller 2017-06-22 18:16:27 +08:00
terminal.go Add framework of auth-controller 2017-06-22 18:16:27 +08:00

getpasswd in Go GoDoc Build Status

Retrieve password from user terminal or piped input without echo.

Verified on BSD, Linux, and Windows.

Example:

package main

import "fmt"
import "github.com/howeyc/gopass"

func main() {
	fmt.Printf("Password: ")

	// Silent. For printing *'s use gopass.GetPasswdMasked()
	pass, err := gopass.GetPasswd()
	if err != nil {
		// Handle gopass.ErrInterrupted or getch() read error
	}

	// Do something with pass
}

Caution: Multi-byte characters not supported!