package
0.4.3
Repository: https://github.com/athanorlabs/atomic-swap.git
Documentation: pkg.go.dev

# Functions

ExpandBootnodes expands the boot nodes passed on the command line that can be specified individually with multiple flags, but can also contain multiple boot nodes passed to single flag separated by commas.
GetEthereumPrivateKey reads or creates and returns an ethereum private key for the given the CLI options.
GetVersion returns our version string for an executable.
ReadETHAddress reads a string flag and parses to an ethereum Address type.
ReadPositiveUnsignedDecimalFlag reads a string flag and parses it into an *apd.Decimal, verifying that the value is strictly > 0.
ReadUnsignedDecimalFlag reads a string flag and parses it into an *apd.Decimal, verifying that the value is >= 0.
SetLogLevels sets the log levels for all packages.
SetLogLevelsFromContext sets the log levels for all packages from the CLI context.
SignalHandler handles OS signals and shuts down the program if necessary.

# Constants

FlagLogLevel is the log level flag.