Sonyflake.Utils (sonyflake_ex v1.0.0)
Utility functions for the package.
Link to this section Summary
Link to this section Functions
Link to this function
lower_16_bit_private_ip()
Specs
lower_16_bit_private_ip() :: non_neg_integer()
Fetches first non-local public IPv4 address, and returns the lower 16-bit value.
Link to this function
to_sonyflake_time(datetime)
Specs
to_sonyflake_time(DateTime.t()) :: non_neg_integer()
Converts any given DateTime
value to a 10-microsecond accuracy integer value.