xrp

package
v0.0.0-...-3761194 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backend

func Backend() *backend

func Factory

Factory creates a new usable instance of this secrets engine.

func Fatal

func Fatal(err error, msgs ...string)

Fatal panics on error First parameter of msgs is used each following variadic arg is dropped

func Log

func Log(err error, msgs ...string)

Log logs an error + stack trace directly to console or file Use this at the top level to publish errors without creating a new error object

func Recover

func Recover(errs ...*error)

Recover recovers a panic introduced by Fatal, any other function which calls panics

or a memory corruption. Logs the error when called without args.

Must be used at the top of the function defered defer Recover() or defer Recover(&err)

func ZeroKey

func ZeroKey(k *ecdsaKey)

ZeroKey removes the key from memory

Types

type Account

type Account struct {
	AccountId    string   `json:"account_id"`
	PublicKey    string   `json:"public_key"`
	PrivateKey   string   `json:"private_key"`
	Secret       string   `json:"secret"`
	TxSpendLimit string   `json:"tx_spend_limit"`
	Whitelist    []string `json:"whitelist"`
	Blacklist    []string `json:"blacklist"`
}

Account is a Ripple account

Jump to

Keyboard shortcuts

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