Documentation ¶
Overview ¶
Copyright 2023 The AmazeChain Authors This file is part of the AmazeChain library.
The AmazeChain library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
The AmazeChain library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the AmazeChain library. If not, see <http://www.gnu.org/licenses/>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf formats a message to standard error and exits the program. The message is also printed to standard output if standard error is redirected to a different file.
func GetPassPhrase ¶
GetPassPhrase displays the given text(prompt) to the user and requests some textual data to be entered, but one which must not be echoed out into the terminal. The method returns the input provided by the user.
func GetPassPhraseWithList ¶
GetPassPhraseWithList retrieves the password associated with an account, either fetched from a list of preloaded passphrases, or requested interactively from the user.
Types ¶
This section is empty.