Documentation
¶
Index ¶
- Constants
- Variables
- func ArgsToString(args []string) string
- func FindIndexOfValueInArray(arr []string, value string) int
- func GetEIP55Address(address string) string
- func HandleFurtherCommands(command string, suggestions []prompt.Suggest)
- func SimpleSubcommandCompleter(line []string, index int, suggestions []prompt.Suggest) []prompt.Suggest
- func SplitInput(input string, keepLastElement bool) []string
Constants ¶
View Source
const ( ADDRESS_PREFIX = "0x" TRANSACTION_PREFIX = "0x" PUB_KEY_PREFIX = "Nx" )
Variables ¶
View Source
var Logger *mlog.Mlog // log commands submitted by users
Functions ¶
func ArgsToString ¶
func FindIndexOfValueInArray ¶
Looks for a specific value in the array, and returns its location returns -1 if not found
func GetEIP55Address ¶
func HandleFurtherCommands ¶
func HandleFurtherCommands(command string, suggestions []prompt.Suggest)
func SplitInput ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.