pwauth

package
v0.0.0-...-7052534 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientAuthPrompt

func ClientAuthPrompt(userName, host string) string

ClientAuthPrompt Main creator for the Auth prompt

Types

type PasswordPrompt

type PasswordPrompt struct {
	UserName string
	Host     string
	// contains filtered or unexported fields
}

PasswordPrompt Struct for the password prompt

func NewPasswordPrompt

func NewPasswordPrompt(userName, host string) PasswordPrompt

NewPasswordPrompt Main constructor for the password prompt

func (PasswordPrompt) Password

func (p PasswordPrompt) Password(userName string) (string, error)

Password Main function that gets the passwrod from the system

Jump to

Keyboard shortcuts

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