package
1.4.11
Repository: https://github.com/hyperledger/firefly-common.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Safe nil checking on an interface, that does not panic.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseDurationString is a standard handling of any duration string, in config or API options.
No description provided by the author
No description provided by the author
ParseToByteSize is a standard handling of a number of bytes, in config or API options.
ParseToDuration is a standard handling of any duration string, in config or API options.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UUIDBytes returns the bytes of a UUID as a compressed hex string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

FFStringArrayStandardMax is the standard length we set as a VARCHAR max in tables for a string array.
Because each FFName has a max length of 64, 15 names (plus comma delimeters) is a safe max to pack into a string column of length 1024.
No description provided by the author
No description provided by the author
ShortIDalphabet is designed for easy double-click select.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DeleteRecordNotFound sentinel error.
HashMismatch sentinel error.
IDMismatch sentinel error.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

Bytes32 is a holder of a hash, that can be used to correlate onchain data with off-chain data.
FFBigInt is a wrapper on a Go big.Int that standardizes JSON and DB serialization.
FFDuration is serialized to JSON in the string format of time.Duration It can be unmarshalled from a number, or a string.
No description provided by the author
FFint64 on the API are serialized as Base10 strings, and can be parsed from multiple bases (very similar to fftypes.FFBigInt, but limited to a 64bit signed integer).
No description provided by the author
FFStringArray is an array of strings, each conforming to the requirements of a FireFly name.
FFTime is serialized to JSON on the API in RFC3339 nanosecond UTC time (noting that JavaScript can parse this format happily into millisecond time with Date.pase()).
FFuint64 on the API are serialized as Base10 strings, and can be parsed from multiple bases (very similar to fftypes.FFBigInt, but limited to a 64bit unsigned integer).
HexUUID is 32 character ASCII string containing the hex representation of UUID, with the dashes of the canonical representation removed.
JSONAny uses raw encode/decode to preserve field order, and can handle any types of field.
JSONObject is a holder of a hash, that can be used to correlate onchain data with off-chain data.
JSONObjectArray is an array of JSONObject.
No description provided by the author
UUID is a wrapper on a UUID implementation, ensuring Value handles nil.