parltty

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoPassword = &NoPasswordStruct{}

Functions

This section is empty.

Types

type NoPasswordStruct

type NoPasswordStruct struct{}

func (*NoPasswordStruct) HasPassword

func (ps *NoPasswordStruct) HasPassword() (hasPassword bool)

func (*NoPasswordStruct) Password

func (ps *NoPasswordStruct) Password() (password string)

type PasswordStdio

type PasswordStdio struct {
	Prompt string
	Input  *os.File
	Output *os.File
}

func NewPassword

func NewPassword(prompt string) (ps *PasswordStdio)

func (*PasswordStdio) HasPassword

func (ps *PasswordStdio) HasPassword() (hasPassword bool)

func (*PasswordStdio) Password

func (ps *PasswordStdio) Password() (password string)

Jump to

Keyboard shortcuts

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