readpass

package
v0.0.0-...-2be5f8e Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package readpass provides password reading functionality. It is a Unix-based package, and will probably not work on other platforms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadPass

func ReadPass(prompt string) ([]byte, error)

ReadPass shows the prompt, and reads the password while blanking the console. Most users will want to print a newline immediately after reading the password.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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