readpassword

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package readpassword reads a password from the terminal of from stdin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Once

func Once(extpass string) string

Once tries to get a password from the user, either from the terminal, extpass or stdin.

func Twice

func Twice(extpass string) string

Twice is the same as Once but will prompt twice if we get the password from the terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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