# Functions
ArbitraryDataFlagVar defines a ArbitraryData flag with specified name and usage string.
ArbitraryDataFlagVarP defines a ArbitraryData flag with specified name, shorthand and usage string.
Die prints its arguments to stderr, then exits the program with the default error code.
DieWithError exits with an error.
DieWithExitCode prints its arguments to stderr, then exits the program with the given exit code.
EncodingTypeFlagDescription returns a description for an encoding type flag, optionally given an encoding type mask (0 means all encoding types are allowed).
NetAddressArrayFlagVar defines a []modules.NetAddress flag with specified name and usage string.
NetAddressArrayFlagVarP defines a []modules.NetAddress flag with specified name, shorthand and usage string.
NewEncodingTypeFlag returns a new EncodingTypeFlag, referencing an encoding type value, defaulting it to a default value, and optionally allowing you to mask.
# Constants
DateOnlyLayout allows you to define a timestamp using a date only, where GMT is assumed as the timezone: DD/MM/YYYY TZN.
EncodingTypeHex encodes the output using the internal binary encoder, and encoding that binary output using the std hex encoder, resulting in a hex-encoded string.
EncodingTypeHuman encodes the output in a human-optimized format, a format which can chance at any point and should be used only for human readers.
EncodingTypeJSON encodes the output as a minified JSON string, and has a format which is promised to be backwards-compatible, to be used for automation purposes.
exit codes inspired by sysexits.h.
exit codes inspired by sysexits.h.
Not in sysexits.h, but is standard practice.
exit codes inspired by sysexits.h.
exit codes inspired by sysexits.h.
EX_USAGE in sysexits.h.
# Structs
No description provided by the author
No description provided by the author
LockTimeFlag defines LockTime as a flag, as to give the user several ways to define the lock time, such that for example the user isn't required to define it in unix epoch time.
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author