password

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package password handles cleanly reading in a user's password from the command line. This varies heavily between operating systems.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTerminal

func IsTerminal() bool

func Prompt

func Prompt(what string) (string, error)

Prompt displays a prompt asking for the password and returns the password the user enters as a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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