Documentation ¶
Overview ¶
Package examples - key constants to be used in the examples and utility function for generating keys
Package examples - Utility functions for this package
Index ¶
Constants ¶
View Source
const ( // ExampleAdminKey - example admin key ExampleAdminKey string = "xprv9s21ZrQH143K3CbJXirfrtpLvhT3Vgusdo8coBritQ3rcS7Jy7sxWhatuxG5h2y1Cqj8FKmPp69536gmjYRpfga2MJdsGyBsnB12E19CESK" // ExampleXPriv - example private key ExampleXPriv string = "" // ExampleXPub - example public key ExampleXPub string = "" // ExamplePaymail - example Paymail address ExamplePaymail string = "" )
Variables ¶
This section is empty.
Functions ¶
func CheckIfAdminKeyExists ¶
func CheckIfAdminKeyExists()
CheckIfAdminKeyExists - checks if ExampleAdminKey is not empty
func CheckIfXPrivExists ¶
func CheckIfXPrivExists()
CheckIfXPrivExists - checks if ExampleXPriv is not empty
func CheckIfXPubExists ¶
func CheckIfXPubExists()
CheckIfXPubExists - checks if ExampleXPub is not empty
func GetFullErrorMessage ¶
func GetFullErrorMessage(err error)
GetFullErrorMessage prints detailed info about the error
func HandlePanic ¶
func HandlePanic()
HandlePanic - function used to handle a recovery after a panic - use with defer
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package main - admin_add_user example
|
Package main - admin_add_user example |
Package main - admin_remove_user example
|
Package main - admin_remove_user example |
Package main - create_transaction example
|
Package main - create_transaction example |
Package main - generate_keys example
|
Package main - generate_keys example |
Package main - generate_totp example
|
Package main - generate_totp example |
Package main - get_balance example
|
Package main - get_balance example |
Package main - handle_exceptions example
|
Package main - handle_exceptions example |
Package main - list_transactions example
|
Package main - list_transactions example |
Package main - send_op_return example
|
Package main - send_op_return example |
Package main - sync_merkleroots example
|
Package main - sync_merkleroots example |
Package main - send_op_return example
|
Package main - send_op_return example |
Package main - xpriv_from_mnemonic example
|
Package main - xpriv_from_mnemonic example |
Package main - xpub_from_xpriv example
|
Package main - xpub_from_xpriv example |
Click to show internal directories.
Click to hide internal directories.